Closed nico-czr closed 3 years ago
Try to add '-no-pie' in ../MODEL/forward_src/makefile I added '-no-pie' at line 29:
$(CC) -Wall -g -no-pie -idirafter ../include -o tephra2-2012 new_tephra.o tephra2_calc.o -lm $(LIB)/libgc.a -ldl
Try to add '-no-pie' in ../MODEL/forward_src/makefile I added '-no-pie' at line 29:
$(CC) -Wall -g -no-pie -idirafter ../include -o tephra2-2012 new_tephra.o tephra2_calc.o -lm $(LIB)/libgc.a -ldl
This solution worked at first try, thank you a lot!
Brilliant, thanks @alexandermanevich. @nico8888 shout if needed
Hello Sébastien @e5k,
I have a problem running TephraProb (Linux Ubuntu 20.04), everything runs smoothly until I have to run Tephra2. I get a long error message at the moment of pressing the "run Tephra2" button and selecting the .mat file. Apparently it is an error regarding the compiling of Tephra2 in MATLAB.
A similar error has been talked on the Tephra2 repository https://github.com/geoscience-community-codes/tephra2/issues/1
I have installed the
libgc-dev
andlibgc1c2
as Laura Connor said, but I'm still getting this error. I attached the error as a text fileHopefully you can guide me on what could be the problem, sincerelly,
Nicolás
runtephra2 error.txt