You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build with OpenMPI
a. modules
module unload PrgEnv-intel
module load PrgEnv-gnu
module load cmake
module load hwloc
module load openmpi
b. steps
go into parsec folder, mkdir build
go into build folder, and run ../contrib/platforms/config.linux -DPARSEC_GPU_WITH_CUDA=OFF -DCMAKE_INSTALL_PREFIX=$PWD
make install -j x
Build with Cray (use cray cc instead of gcc)
a. modules
module unload PrgEnv-intel
module load PrgEnv-gnu
module load cmake
export CC=cc
export CXX=CC
export FC=ftn
b. steps
go into parsec folder, mkdir build
go into build folder, and run ../contrib/platforms/config.linux -DPARSEC_GPU_WITH_CUDA=OFF -DCMAKE_INSTALL_PREFIX=$PWD
modify cmake options:
i. run ccmake ., and set BUILD_SHARED_LIBS=OFF if it is ON
ii. search HWLOC, and make sure three HWLOC options are empty. PaRSEC will automatically search hwloc and the bitmap API of hwloc. For some unknown reason, PaRSEC can not link the bitmap version of hwloc when using cray cc. So just disable hwloc.
make -j x
make install, and there are 4 errors and they are just tools of parsec, so comment them.
i. CMake Error at tools/profiling/cmake_install.cmake:45 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbp2xml
No valid ELF RPATH or RUNPATH entry exists in the file; solution: comment line 45-48
ii. CMake Error at tools/profiling/cmake_install.cmake:65 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbpinfos
No valid ELF RPATH or RUNPATH entry exists in the file; solution: comment line 65-68
iii. CMake Error at tools/profiling/cmake_install.cmake:85 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbp2mem
No valid ELF RPATH or RUNPATH entry exists in the file; solution: comment line 85-88
iv. CMake Error at parsec/interfaces/ptg/ptg-compiler/cmake_install.cmake:45 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/parsec_ptgpp
No valid ELF RPATH or RUNPATH entry exists in the file; solution: comment line 45-48
when compiling the parsec version of task bench, modify the libparsec.so to libparsec.a in the Makefile because when using cray cc, it generates static libs.
The text was updated successfully, but these errors were encountered:
Build with OpenMPI
a. modules
module unload PrgEnv-intel
module load PrgEnv-gnu
module load cmake
module load hwloc
module load openmpi
b. steps
Build with Cray (use cray cc instead of gcc)
a. modules
module unload PrgEnv-intel
module load PrgEnv-gnu
module load cmake
export CC=cc
export CXX=CC
export FC=ftn
b. steps
go into parsec folder, mkdir build
go into build folder, and run ../contrib/platforms/config.linux -DPARSEC_GPU_WITH_CUDA=OFF -DCMAKE_INSTALL_PREFIX=$PWD
modify cmake options:
i. run ccmake ., and set BUILD_SHARED_LIBS=OFF if it is ON
ii. search HWLOC, and make sure three HWLOC options are empty. PaRSEC will automatically search hwloc and the bitmap API of hwloc. For some unknown reason, PaRSEC can not link the bitmap version of hwloc when using cray cc. So just disable hwloc.
make -j x
make install, and there are 4 errors and they are just tools of parsec, so comment them.
i. CMake Error at tools/profiling/cmake_install.cmake:45 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbp2xml
No valid ELF RPATH or RUNPATH entry exists in the file;
solution: comment line 45-48
ii. CMake Error at tools/profiling/cmake_install.cmake:65 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbpinfos
No valid ELF RPATH or RUNPATH entry exists in the file;
solution: comment line 65-68
iii. CMake Error at tools/profiling/cmake_install.cmake:85 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/dbp2mem
No valid ELF RPATH or RUNPATH entry exists in the file;
solution: comment line 85-88
iv. CMake Error at parsec/interfaces/ptg/ptg-compiler/cmake_install.cmake:45 (file):
file RPATH_CHANGE could not write new RPATH:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/lib
to the file:
/global/homes/w/wwu12/task-bench/deps/parsec-cray-hwloc/build/bin/parsec_ptgpp
No valid ELF RPATH or RUNPATH entry exists in the file;
solution: comment line 45-48
when compiling the parsec version of task bench, modify the libparsec.so to libparsec.a in the Makefile because when using cray cc, it generates static libs.
The text was updated successfully, but these errors were encountered: