failure on building ADIOS2
Created by: tongshu83
I failed to build ADIOS2 in bebop. Could you please help check the issue? Thank you very much!
The building procedure is as follows. module unload intel-mkl/2017.3.196-v7uuj6z module load intel/17.0.4-74uvhji module load intel-mpi/2017.3-dfphq6k module load libpsm2/10.3-17 module load cmake/3.12.2-4zllpyo module load jdk/8u141-b15-mopj6qr module load tcl/8.6.6-x4wnbsg module load bzip2/1.0.6-hcvyuh5 module load zlib/1.2.11-6632jqd
export ROOT=$PWD/install
mkdir -pv $ROOT
rm -fv Anaconda3-2019.03-Linux-x86_64.sh
wget -q https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
sh Anaconda3-2019.03-Linux-x86_64.sh -b -p $ROOT/anaconda3
export PATH=ROOT/anaconda3/bin:
PATH
conda create -n codar python=3.7
export CONDA_HOME=$ROOT/anaconda3
export PATH=CONDA_HOME/envs/codar/bin:
PATH
export LD_LIBRARY_PATH=LD_LIBRARY_PATH:
CONDA_HOME/envs/codar/lib
git clone https://github.com/ornladios/ADIOS2.git cd ADIOS2 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=$ROOT/adios2 .. make -j8
... [ 68%] Building Fortran object testing/adios2/engine/staging-common/CMakeFiles/TestCommonRead_f.dir/TestCommonReadF.F90.o /lcrc/project/PACC/tong/HPC_Autotuner/ADIOS2/testing/adios2/engine/staging-common/TestCommonReadF.F90:10.6:
use mpi 1 Fatal Error: File 'mpi.mod' opened at (1) is not a GNU Fortran module file make[2]: *** [testing/adios2/engine/staging-common/CMakeFiles/TestCommonRead_f.dir/TestCommonReadF.F90.o] Error 1 make[1]: *** [testing/adios2/engine/staging-common/CMakeFiles/TestCommonRead_f.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 68%] Linking CXX executable ../../../../bin/TestInlineWriteRead [ 68%] Built target TestInlineWriteRead [ 68%] Linking CXX executable ../../../../bin/TestInSituMPIFunctionAssignPeers [ 68%] Built target TestInSituMPIFunctionAssignPeers [ 68%] Linking CXX executable ../../../../bin/TestEngineCommon [ 68%] Built target TestEngineCommon [ 68%] Linking CXX executable ../../../../bin/TestCommonWriteAttrs [ 68%] Built target TestCommonWriteAttrs [ 68%] Linking CXX executable ../../../../bin/TestStagingMPMD [ 68%] Built target TestStagingMPMD [ 68%] Linking CXX executable ../../../../bin/TestBPWriteReadLocalVariablesSel [ 68%] Built target TestBPWriteReadLocalVariablesSel [ 68%] Built target adios2py make: *** [all] Error 2