Inconsistent gcc version load by configure and load_sems_dev_env.sh
Created by: lucbv
@bartlettroscoe
I am having some issues this morning with the different compiler versions loaded by various trilinos script.
When I load the sems-environment with:
source cmake/load_sems_dev_env.sh
it sets the compiler to gcc-4.8.4
However after I run my configure script, in which I do not set the compiler since I rely on cmake to detect it, here is what my environment looks like:
Currently Loaded Modulefiles:
1) sems-env 4) sems-git/2.10.1 7) sems-boost/1.63.0/base 10) sems-hdf5/1.8.12/parallel 13) sems-superlu/4.3/base
2) sems-python/2.7.9 5) sems-gcc/4.9.3 8) sems-yaml_cpp/0.5.3/base 11) sems-netcdf/4.3.2/parallel
3) sems-cmake/3.5.2 6) sems-openmpi/1.6.5 9) sems-zlib/1.2.8/base 12) sems-parmetis/4.0.3/parallel
Finally I get this type of warning when I compile:
/projects/sems/install/rhel7-x86_64/sems/compiler/gcc/4.8.5/openmpi/1.6.5/include/mpi_portable_platform.h:374:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
which reports gcc-4.8.5 as compiler?
I am attaching my configure script in case it yields any clues. configure_trilinos.sh.txt