Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure on building ADIOS2 #1481

Open
tongshu83 opened this issue Jun 7, 2019 · 4 comments
Open

failure on building ADIOS2 #1481

tongshu83 opened this issue Jun 7, 2019 · 4 comments
Labels

Comments

@tongshu83
Copy link

tongshu83 commented Jun 7, 2019

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

@williamfgc
Copy link
Contributor

@tongshu83 can you verify you are also using an Intel Fortran compiler compatible with Intel MPI. If you don't need the Fortran bindings in adios2 you can always configure with: -DADIOS2_USE_Fortran=OFF. Hope it helps.

@williamfgc
Copy link
Contributor

@tongshu83 any updates on this?

1 similar comment
@williamfgc
Copy link
Contributor

@tongshu83 any updates on this?

@adamgranthendry
Copy link

@tonshu83 I'm having similar problems. Any updates? Please see #2838

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants