You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copyright (C) 2015 National Research Council Canada
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See LICENCE file for
details or http://www.gnu.org/licenses/agpl.txt
This script configures EGSnrc for use on your system. The configuration
options will be saved in a configuration file inside the $HEN_HOUSE/specs
directory. You can use this configuration by setting the environment variable
$EGS_CONFIG to the path of the configuration file.
You can use this script to generate as many different configurations as you
wish (for instance, you may have different compilers installed or various
operating systems on the same file system). If the environment variable
$HEN_HOUSE is set for previous EGSnrc installations, it should probably be
unset prior to calling this script.
This script will ask you questions to configure EGSnrc.
Any response you enter overrides the suggested default shown in brackets.
This implies that if you want to add something to the default answer, you
must re-type this default answer as part of your response.
To accept the default answer shown in brackets: just press enter.
To submit an empty answer, overriding the default: enter '--' as a response.
To get help for some questions requiring input: enter '?' as a response.
You can exit this script at any time by typing Ctrl-C.
Press enter to continue.
Checking system type ... arm-apple-darwin23.5.0
Checking for make ... yes (/usr/bin/make)
Looking for available fortran compilers ... found: gfortran
Input fortran compiler: [gfortran]
Testing if gfortran works ... yes. Object extension is 'o'
Testing if gfortran can create executables ... yes. Extension is ''
Checking for compiler version ... GNU Fortran (Homebrew GCC 14.2.0_1) version 14.2.0
Input standard compilation flags: [-fPIC]
Input optimization flags: [-O2 -mtune=native ] -02
Input flags for debugging: [-g] -g
Input libraries that your compiler may need:
Will use the following compiler settings:
F77 = gfortran
FCFLAGS = -fPIC
FDEBUG = -g
FOPT = -02
FLIBS =
Testing if compilation flags work ... no
Error: your FORTRAN compiler failed to compile a simple test program
with the selected compiler flags:
gfortran -c -fPIC -g -02
Run this script again to select different compiler flags.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Operating system
mcOS 14.5 (Sonoma) chip M3
EGSnrc version
2025
Additional context
...
The text was updated successfully, but these errors were encountered:
Describe the bug
FORTRAN compiler failed to compile a simple test program with the selected compiler flags
To Reproduce
...
Expected behavior
Fail to compile
Screenshots
Terminal output
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MacBook-Air:EGSnrc MC$ ./HEN_HOUSE/scripts/configure
###############################################################################
configure
###############################################################################
Copyright (C) 2015 National Research Council Canada
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See LICENCE file for
details or http://www.gnu.org/licenses/agpl.txt
###############################################################################
EGSnrc configuration script.
This script configures EGSnrc for use on your system. The configuration
options will be saved in a configuration file inside the $HEN_HOUSE/specs
directory. You can use this configuration by setting the environment variable
$EGS_CONFIG to the path of the configuration file.
You can use this script to generate as many different configurations as you
wish (for instance, you may have different compilers installed or various
operating systems on the same file system). If the environment variable
$HEN_HOUSE is set for previous EGSnrc installations, it should probably be
unset prior to calling this script.
This script will ask you questions to configure EGSnrc.
Any response you enter overrides the suggested default shown in brackets.
This implies that if you want to add something to the default answer, you
must re-type this default answer as part of your response.
To accept the default answer shown in brackets: just press enter.
To submit an empty answer, overriding the default: enter '--' as a response.
To get help for some questions requiring input: enter '?' as a response.
###############################################################################
You can exit this script at any time by typing Ctrl-C.
Press enter to continue.
Checking system type ... arm-apple-darwin23.5.0
Checking for make ... yes (/usr/bin/make)
Looking for available fortran compilers ... found: gfortran
Input fortran compiler: [gfortran]
Testing if gfortran works ... yes. Object extension is 'o'
Testing if gfortran can create executables ... yes. Extension is ''
Checking for compiler version ... GNU Fortran (Homebrew GCC 14.2.0_1) version 14.2.0
Input standard compilation flags: [-fPIC]
Input optimization flags: [-O2 -mtune=native ] -02
Input flags for debugging: [-g] -g
Input libraries that your compiler may need:
Will use the following compiler settings:
F77 = gfortran
FCFLAGS = -fPIC
FDEBUG = -g
FOPT = -02
FLIBS =
Testing if compilation flags work ... no
Error: your FORTRAN compiler failed to compile a simple test program
with the selected compiler flags:
gfortran -c -fPIC -g -02
Run this script again to select different compiler flags.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Operating system
mcOS 14.5 (Sonoma) chip M3
EGSnrc version
2025
Additional context
...
The text was updated successfully, but these errors were encountered: