Skip to content

Reply To: Mixed Mode Compilation issue on HPC

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Mixed Mode Compilation issue on HPC Reply To: Mixed Mode Compilation issue on HPC

#10945
leonc
Participant

Hi Adrian,
Thank you for your response and guidance. I ran the following commands (on Make 4.2.1)
1. make clean; make clean-core and recompiled the base folder make
2. compiled the test case make clean; make

but still received the compilation error. I tried loading another version of GNU Make 4.4.1, used the original default.mixed.mk, repeated steps 1 and 2 and got the following error when compiling the channel3d case

mpic++ channel3d.o -o channel3d -L../../../external/lib  -lpthread -lz -ltinyxml2 -L../../../build/lib -L . -lolbcuda -lolbcore -lcuda -lcudadevrt -lcudart
channel3d.o: In function <code>_ZNSt17_Function_handlerIFPN3olb18AbstractCollisionOIfNS0_11descriptors5D3Q19IJNS2_5FORCEENS2_6TENSORENS2_8VELOCITYENS2_</code>

….

collect2: error: ld returned 1 exit status
make: *** [../../../default.mixed.mk:142: channel3d] Error 1

Thank you again for your kind help.
Leon

  • This reply was modified 3 weeks, 6 days ago by leonc.
  • This reply was modified 3 weeks, 6 days ago by leonc.