Dear Erik, Gabriele and Roland,
Thanks a lot for pointing out the issue. We tried a few things after looking at the tickets and solutions, and each of them landed with different errors. I am listing them below in 3 parts:
Part A:
Keeping compiler Intel 2013, I tried to add lines -gcc_name and -gxx_name to CFLAGS and CXXFLAGS pointing to gcc/
7.3.0. The error while compiling is the following:
checking for C++ lambda expressions... yes
checking for C++ range-based for statements... no
Cactus requires a C++11 compiler -- check your C++ compiler and C++ compiler flags
Error reconfiguring sim-config
make: *** [sim-config] Error 2
I have attached the ini file (kanad_et7.ini), cfg file (kanad_et7.cfg) and full terminal output (out_et7.txt) for reference. I am unable to extract the issue at this point. The module gcc/7.3.0 seems to be loading properly using module load, as the which cpp changes from default cpp to cpp-7.3.0.
PART B:
The KANAD hpc also has Intel compiler 2017, but the module file for the same is not available, so the default icc/icpc/ifort still remains intel 2013 during attempts to compile ET. I made changes in cfg file accordingly to accommodate intel 2017 but compilation of this ET lands on another issue:
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether the C compiler (/opt/intel-17/compilers_and_libraries_2017/linux/bin/intel64/icc -g -xHOST -align -std=gnu99 -Wl,-rpath,/opt/intel-17/compilers_and_libraries_2017/linux/bin/intel64 -Wl,-rpath, /opt/intel-17/compilers_and_libraries_2017/linux/mkl/lib/intel64) works... no
configure: error: installation or configuration problem: C compiler cannot create executables (see configs/sim/config-data/config.log for details).
Error reconfiguring sim-config
make: *** [sim-config] Error 2
Upon checking the config log file, I found the following:
Error: Product support for your (Comp-CL) license has expired.
License file(s) used were (in this order):
1. Trusted Storage
** 2. /opt/intel/licenses/NCOM_L___2HWS-TFKRNMR4_1.lic
** 3. /opt/intel/licenses/server.lic
** 4. /opt/intel/composer_xe_2013.1.117/licenses/license.lic
** 5. /home2/mallick/intel/licenses
** 6. /opt/intel-17/compilers_and_libraries_2017.4.196/linux/bin/intel64/../../Licenses
** 7. /home2/mallick/Licenses
** 8. /Users/Shared/Library/Application Support/Intel/Licenses
** 9. /opt/intel-17/compilers_and_libraries_2017.4.196/linux/bin/intel64/*.lic
Please refer https://software.intel.com/en-us/faq/purchasing-renewing-upgrading#support-expiration for more information..
icc: error #10052: could not checkout FLEXlm license
configure: failed program was:
#line 1094 "configure"
#include "confdefs.h"
Seems like some issue with the license, but I checked with the hpc admin and he says the license should not be any issue. I am unable to figure out the issue here as well. Could this be the problem that my environment default intel compiler is still intel 2013 while compiling? I have attached the cfg file (kanad_et4.cfg), full terminal output (out_et4.out) and config log file (config_et4.log) for reference.
Part C:
I compiled another ET successfully using the modules gcc-7.3.0, openmpi-3.1.4, FFTW3/3.3.3, gsl/1.16, openssl/1.1.1a, zlib/1.2.8, cmake/3.15.4, libjpeg/1.2.1, HDF5/1.8.10, openmpi/
3.1.4.
But there seems to be a repetitive warning while buliding ET, which I am not sure if I should be worried about:
/usr/bin/ld: warning: libgfortran.so.3, needed by /usr/lib64/atlas/liblapack.so, may conflict with libgfortran.so.4
Please let me know if I should consider changing something to get rid of this warning, I have attached ini file (kanad_et8.ini), cfg file (kanad_et8.cfg) and full terminal output (out_et8.txt) for reference.
I am currently trying to run helloworld, but it stops as it cannot find openmpi in computing nodes. Later, I checked, openmpi/3.1.4 actually does not show up in the module list of those computing nodes. I am checking with the hpc admin about this issue.
Now, having got this compiled successfully, should I continue to pursue compiling ET with intel compilers? Though I am still not sure if this ET (with gcc-7.3) will show up any errors in future as I aim to work on binary neutron star merger simulations. Please let me know your thoughts on this.
Thanks and Regards
Shamim Haque
Senior Research Fellow (SRF)
Department of Physics
IISER Bhopal