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
Describe the bug
In metamake.sh, the path to icc and icpc is queries through a "which icc" shell command. The output is captured and if empty, the gnu compiler is used. Since the output of the which command is non-empty but also not a path (/usr/bin/which: no icc in (...)), the script doesn't search the path for gcc and g++, (which gcc), which is version 7.3, and cmake then finds the wrong version of gcc/g++ version 4.8.
To Reproduce
login to the grid
srun -q debug -t 10:0 --pty bash
git clone https://github.com/GOMC-WSU/GOMC.git
cd GOMC
git checkout development
./metamake.sh
Expected behavior
Compile with gcc/g++ 7.3
Additional context
Other softwares require a ./config script to set the compiler variables and other environment variables. This would prevent inevitable errors in autodetection.
The text was updated successfully, but these errors were encountered:
Describe the bug
In metamake.sh, the path to icc and icpc is queries through a "which icc" shell command. The output is captured and if empty, the gnu compiler is used. Since the output of the which command is non-empty but also not a path (/usr/bin/which: no icc in (...)), the script doesn't search the path for gcc and g++, (which gcc), which is version 7.3, and cmake then finds the wrong version of gcc/g++ version 4.8.
To Reproduce
login to the grid
srun -q debug -t 10:0 --pty bash
git clone https://github.com/GOMC-WSU/GOMC.git
cd GOMC
git checkout development
./metamake.sh
Expected behavior
Compile with gcc/g++ 7.3
Additional context
Other softwares require a ./config script to set the compiler variables and other environment variables. This would prevent inevitable errors in autodetection.
The text was updated successfully, but these errors were encountered: