Hi all,
I was hoping that someone has come across my issue.
I have installed v8p1r0 a while back and compiled using the instructions on this site (
wiki.opentelemac.org/doku.php?id=installation_on_linux). I did the tests, i.e., running compile_telemac.py with no errors.
The installation seems to run fine, i.e., I'm getting reasonable results when doing a simple wind experiment on my domain using 8 cores on a fedora OS on a HP z800.
The problem is when I activate drogues by adding a fortran file in the CAS (with the subroutine flot3d). The error is:
gfortran: error:/lib/libmetis.a: No such file or directory found
Using built-in specs
COLLECT_GCC=/usr/bin/gfortran
...
...
...
Thread model: posix
gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
Traceback (most recent call last):
File "/home/srao/telemac/v8p1r0/scripts/python3/telemac3d.py", line 7, in <module>
main('telemac3d')
File "/home/srao/telemac/v8p1r0/scripts/python3/runcode.py", line 272, in main
run_study(cas_file, code_name, options)
File "/home/srao/telemac/v8p1r0/scripts/python3/execution/run_cas.py", line 157, in run_study
run_local_cas(my_study, options)
File "/home/srao/telemac/v8p1r0/scripts/python3/execution/run_cas.py", line 43, in run_local_cas
my_study.compile_exe()
File "/home/srao/telemac/v8p1r0/scripts/python3/execution/study.py", line 332, in compile_exe
self.cfg, self.code_name)
File "/home/srao/telemac/v8p1r0/scripts/python3/execution/process.py", line 641, in process_executable
str(code)+').\n '+tail)
utils.exceptions.TelemacException: Could not link your executable (runcode=1).
... The following command failed for the reason in the listing
mpif90 -fPIC -fconvert=big-endian -frecord-marker=4 -v -lpthread -lm -o "/home/srao/telemac/v8p1r0/examples/telemac3d/particles/Run/out_user_fortran" /home/srao/telemac/v8p1r0/examples/telemac3d/particles/Run/user_fortran/user_flot3d.o /home/srao/telemac/v8p1r0/builds/fedgfmpich2/lib/telemac3d.a /home/srao/telemac/v8p1r0/builds/fedgfmpich2/lib/gaia4telemac3d.a
...
...
...
/home/srao/telemac/v8p1r0/builds/fedgfmpich2/lib/special4telemac3d.a
$METISHOME/lib/libmetis.a
Looks like it can't find: error:/lib/libmetis.a: No such file or directory found.
I definitely installed metis and I can see the file on
/home/srao/telemac/v8p1r0/metis/lib/libmetis.a
Just wondering if I am missing something. I have attached the pysource file as well.
Any guidance appreciated.
Cheers,
Shiv