Sir
the installed version of ifort is 19.0.4.243 on ubuntu 18.04. the intel parallel studio xe (clusters) 2019 is the version
i am getting difficulty while compiling ARPACk-NG. It was downloaded from https://github.com/opencollab/arpack-ng/releases
i am following commands mentioned in read.md file to compile ARPACK-NG using CMake functionality:
$ mkdir build
$ cd build
$ cmake -D EXAMPLES=ON -D MPI=ON -D BUILD_SHARED_LIBS=ON ..
$ make
$ make install
it is expected to build everything including examples and parallel support (with MPI).
-- Detecting Fortran/C Interface - Failed to compile
CMake Warning (dev) at /usr/share/cmake-3.10/Modules/FortranCInterface.cmake:309 (message):
No FortranCInterface mangling known for sgemm
The Fortran compiler:
/opt/intel/compilers_and_libraries_2019.4.243/linux/mpi/intel64/bin/mpiifort
and the C compiler:
/opt/intel/compilers_and_libraries_2019.4.243/linux/bin/intel64/icc
failed to compile a simple test project using both languages.
my bashfile has
source /opt/intel/compilers_and_libraries_2019/linux/bin/compilervars.sh intel64
source /opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/bin/mklvars.sh intel64 ilp64 mod
export CMAKE_INCLUDE_PATH=/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/include
export CMAKE_LIBRARY_PATH=/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/lib/intel64:/opt/intel/compilers_and_libraries_2019.4.243/linux/compiler/lib/intel64
export LD_LIBRARY_PATH=$CMAKE_LIBRARY_PATH:$LD_LIBRARY_PATH
export MKLROOT=/opt/intel/mkl
export FCFLAGS=-i8
export FFLAGS="-i8"
export CC=$(which icc)
export CXX=$(which icpc)
export FC=$(which mpiifort)
kindly let me know where i am making a mistake.
thanks
ab