pnnl / rofi

Other
10 stars 2 forks source link

Ping pong test -lm Flag #2

Closed kwaters4 closed 1 year ago

kwaters4 commented 1 year ago

Since updating ROFI have had issues with running the tests in ROFI.

srun -N2 --mpi=pmi2 make check

The first thing that shows up is a missing math library (-lm) linker for pp.c. I added it to the makefile in the primary directory and it seems to continue on.

I am then running into issues with ./deps/utils.Tpo missing (No such file in directory when I run the test).

I feel like I am missing something here. Any help is appreciated. ROFI seems to be running fine when called from Lamellar. Still running some tests.

rgioiosa78 commented 1 year ago

sorry to hear that! could you share the configure line you used for ROFI? generally speaking, the builder might not be able to find all libraries but you should be able to add the paths and libraries with environmental variables while configuring the package. i.e.,

./configure ..... CPPFLAGS=-I .... LDFLAGS="-L -l"

same can be done for CFLAGS. Let us know if this helps!

kwaters4 commented 1 year ago

I had an old version of GCC. Sorry, it took some troubleshooting but I was able to figure it out. It is testing as intended. Thank you.