intel.sh script needs updating
Brought to you by:
billmenger,
seismick
The Intel Fortran and C++ compilers have changed some of the paths since version 9 or 10.
It is unlikely that any new installation of CPSeis will use these old compilers.
I have attached an example of how it must be modified to set up the environment to work with version 11.1
I presume it will need changing again for future versions.
revised script November 14
I have changed this script to include the compiler version number in INTEL_ROOT variable. So that it only needs to be defined once, I suggest that the makefiles makfile.spws and Makefile in etc subdirectory be modified to use the INTEL_ROOT variable instead of being hardwired to some old path of Intel compiler, for the INTEL_HOME or F90_LINK_DIR.
1) 2013 version of Intel Compiler can not be used with MPICH2
2) There is a problem with 32-bit builds with version 9 or 10 of Intel Fortran compiler in that the assume no2underscores option does not work under a 32-bit linux, but 32-bit compiler does work if both compilers (32-bit and 64-bit) are installed under 64-bit linux. I doubt many would be compiling 32-bit CPSeis on a 64-bit linux. Intel supposedly fixed this; I don't know yet which version compiler 11, 12 or 13 is good for 32-bit compiling.
3) So there is probably one version of Intel compilers that is preferable and the others should be discouraged.
Using versions 12 or 13 of Intel compilers (Composer XE) will be more complicated. Apart from different subdirectory names, the Intel libraries libguide.* and libguide_stats.* are deprecated.They have been superceded by libraries with different names. So the makefiles linking those libraries need to be modified, if the newer compilers are required.