We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi James,
I am trying to build LBPM on Lonestar6 on TACC but I encounter an error in the first linking step (linking lbpm_color_simulator) that says:
[ 38%] Linking CXX executable lbpm_color_simulator cd ${WORK}/build_lbpm/tests/CMakeFiles/lbpm_color_simulator.dir/tests && /opt/apps/cmake/3.24.2/bin/cmake -E cmake_link_script CMakeFiles/lbpm_color_simulator.dir/link.txt --verbose=1 /opt/apps/gcc11_2/mvapich2/2.3.7/bin/mpicxx -Wall -Wextra -pedantic -Woverloaded-virtual -Wsign-compare -Wformat-security -Wno-reorder -Wno-unused-parameter -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -fuse-ld=gold -Wl,--disable-new-dtags -Wl,--no-map-whole-files CMakeFiles/lbpm_color_simulator.dir/lbpm_color_simulator.cpp.o -o lbpm_color_simulator -L/opt/apps/cuda/11.4/targets/x86_64-linux/lib/stubs -L/opt/apps/cuda/11.4/targets/x86_64-linux/lib -Wl,-rpath,/opt/apps/gcc11_2/hdf5/1.10.4/x86_64/lib::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ../liblbpm-wia.a /opt/apps/gcc11_2/hdf5/1.10.4/x86_64/lib/libhdf5_hl.so /opt/apps/gcc11_2/hdf5/1.10.4/x86_64/lib/libhdf5.a -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lmpicxx -lmpi -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc -lz/opt/apps/gcc/11.2.0/bin/ld.gold: fatal error: ../liblbpm-wia.a: file too short: read only 0 of 674800 bytes at 70939032 collect2: error: ld returned 1 exit status make[2]: *** [tests/CMakeFiles/lbpm_color_simulator.dir/build.make: 100: tests/lbpm_color_simulator] Error 1 make[2]: Leaving directory '${WORK}/build_lbpm/tests/CMakeFiles/lbpm_color_simulator.dir' make[1]: *** [CMakeFiles/Makefile2:1460: tests/CMakeFiles/lbpm_color_simulator.dir/all] Error 2 make[1]: Leaving directory '${WORK}/build_lbpm/tests/CMakeFiles/lbpm_color_simulator.dir' make: *** [Makefile:146: all] Error 2
I have loaded some existing modules, specifically gcc/11.2.0, hdf5/1.10.4, mvapich2/2.3.7, and cuda/11.4.
gcc/11.2.0
hdf5/1.10.4
mvapich2/2.3.7
cuda/11.4
The following is the cmake configure file that I adopted from the sample scripts:
export HDF5_DIR=$TACC_HDF5_DIR cmake \ -D CMAKE_BUILD_TYPE:STRING=Release \ -D CMAKE_C_COMPILER:PATH=mpicc \ -D CMAKE_CXX_COMPILER:PATH=mpicxx \ -D CMAKE_CXX_STANDARD=14 \ -D USE_CUDA=1 \ -D CMAKE_CUDA_FLAGS="-arch sm_80 -Xptxas=-v -Xptxas -dlcm=cg -lineinfo" \ -D CMAKE_CUDA_HOST_COMPILER="/opt/apps/gcc/11.2.0/bin/gcc" \ -D CMAKE_CUDA_ARCHITECTURES="80" \ -D USE_HDF5=1 \ -D HDF5_DIRECTORY="$HDF5_DIR" \ -D HDF5_LIB="$HDF5_DIR/lib/libhdf5.a" \ -D USE_SILO=0 \ -D SILO_LIB="$SILO_DIR/lib/libsiloh5.a" \ -D SILO_DIRECTORY="$SILO_DIR" \ -D USE_NETCDF=0 \ -D NETCDF_DIRECTORY="$NETCDF_DIR" \ -D USE_DOXYGEN:BOOL=false \ -D USE_TIMER=0 \ ${WORK}/LBPM make VERBOSE=1 -j1 && make install
I would appreciate any guidance on how to fix this.
Thank you!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi James,
I am trying to build LBPM on Lonestar6 on TACC but I encounter an error in the first linking step (linking lbpm_color_simulator) that says:
I have loaded some existing modules, specifically
gcc/11.2.0
,hdf5/1.10.4
,mvapich2/2.3.7
, andcuda/11.4
.The following is the cmake configure file that I adopted from the sample scripts:
I would appreciate any guidance on how to fix this.
Thank you!
The text was updated successfully, but these errors were encountered: