IllinoisRocstar / Rocstar

Rocstar MultiPhysics simulation suite (RocstarMP)
Other
22 stars 24 forks source link

Installation error #14

Open xyzxyz-321 opened 4 years ago

xyzxyz-321 commented 4 years ago

Dear author, hello, I am trying to compile and install rocstar, but it fails when running make -j$(nproc),the build will stop when it reaches 5%.

 fatal error: RocBlas-SIM.h: No such file or directory
35 | #include "RocBlas-SIM.h"
|          ^~~~~~~
compilation terminated.
make[2]:  [Rocman/CMakeFiles/Rocman.dir/build.make:63: Rocman/CMakeFiles/Rocman.dir/src/rocstar_driver.C.o] Error 1
make[2]:  Waiting for unfinished jobs....
The error prompt files are listed below. Is there any solution? thank you for your guidance. CMakeError.log CMakeOutput.log

Wangduu commented 4 years ago

Maybe your IMPACT version is not compatible with the rocstar you try to install.

aerospaceDoDo commented 4 years ago

Maybe your IMPACT version is not compatible with the rocstar you try to install.

@Wangduu @xyzxyz-321 . Hello, I also met some problems when running make -j$(nproc). Some error happened when built target Rocflu:

[ 94%] Linking CXX executable ../../bin/rflumap [ 94%] Linking CXX executable ../../bin/rflupart [ 94%] Linking CXX executable ../../bin/rfluinit /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_initialized_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompireduce' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_wait_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompi_commsize' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_send_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompibarrier' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_allreduce_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompi_attrget' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_abort_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompiisend' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_comm_rank_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompirecv' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference to mpi_bcast_' /usr/bin/ld: ../../lib/libRocflu.so.5.0.2: undefined reference tompifinalize' collect2: error: ld returned 1 exit status

                   Have you ever met the problem? 
agondolo commented 4 years ago

@xyzxyz-321 Please check your installation of IMPACT and update it if necessary. The missing header was a recent addition.

xyzxyz-321 commented 3 years ago

@Wangduu @agondolo Thank you so much for your reply, I will try again

xyzxyz-321 commented 3 years ago

@aerospaceDoDo Hello, I am not very clear about your problem, and my problem seems to be more serious than yours because I only progressed to 5%.

iceberggeneral commented 10 months ago

@aerospaceDoDo I'm also meet this problem, did you deal it?