-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation problem with GOTM #103
Comments
We know that compile will fail with newer GOTM.
Calling all developers: if you have done this with newer GOTM please contact me. Thx.
…-Joseph
Y. Joseph Zhang
Web: schism.wiki
Office: 804 684 7466
From: emyrizzi11 ***@***.***>
Sent: Wednesday, May 3, 2023 5:21 AM
To: schism-dev/schism ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [schism-dev/schism] Compilation problem with GOTM (Issue #103)
[EXTERNAL to VIMS received message]
Hello,
The compilation of the model with only the TVD module goes well and I use a similar Make.defs file to the Make.defs.lnec.ws.gnu one.
When I try to turn on the GOTM module, in addition to the previous TVD, the compilation doesn't happen.
I compiled the github GOTM version and I get the differnt libraries and modules of the closure model. I pass the required paths to the Make.defs.local file and then I try to compile the new SCHISM model with make pschism, after running a make clean.
The compilation seems to go well and it arrives at 100%, but after that I get this message:
/usr/lib64/openmpi/bin/mpif90 -O2 o/svn.LNEC_WS_GNU/schism_version.o o/svn.LNEC_WS_GNU/schism_glbl.o o/svn.LNEC_WS_GNU/schism_msgp.o o/svn.LNEC_WS_GNU/scribe_io.o o/svn.LNEC_WS_GNU/misc_modules.o o/svn.LNEC_WS_GNU/schism_io.o o/svn.LNEC_WS_GNU/schism_driver.o o/svn.LNEC_WS_GNU/gen_modules_clock.o o/svn.LNEC_WS_GNU/grid_subs.o o/svn.LNEC_WS_GNU/hydraulic_structures.o o/svn.LNEC_WS_GNU/schism_init.o o/svn.LNEC_WS_GNU/schism_step.o o/svn.LNEC_WS_GNU/schism_finalize.o o/svn.LNEC_WS_GNU/bktrk_subs.o o/svn.LNEC_WS_GNU/solver_subs.o o/svn.LNEC_WS_GNU/misc_subs.o o/svn.LNEC_WS_GNU/transport_TVD_imp.o o/svn.LNEC_WS_GNU/sflux_9c.o o/svn.LNEC_WS_GNU/lap.o -L./ParMetis-4.0.3 -lparmetis -lmetis -L/usr/lib64 -lnetcdf -lnetcdff -L/fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5_git/build2/lib -libturbulence_prod -libutil_prod -J. -I. -o pschism_LNEC_WS_GNU_VL_GOTM
/usr/bin/ld: cannot find -libturbulence_prod
/usr/bin/ld: cannot find -libutil_prod
collect2: error: ld returned 1 exit status
make: *** [Makefile:412: pschism_LNEC_WS_GNU_VL_GOTM] Error 1
I don't really know where SCHISM gets the path /usr/bin/ld for the two libraries, but the path given is not a directory.
Did anyone had a similar problem?
-
Reply to this email directly, view it on GitHub<#103>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFBKNZ5OSY6OP5QSPUDQQ2LXEIPPNANCNFSM6AAAAAAXUEHRN4>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.******@***.***>>
|
Hello again, after the previous message I have decided to try compiling SCHISM using an older version of GOTM, particularly the 5.2 version. I managed to compile the older version, but SCHISM will still give me an error at the end of the compiltaion: o/svn.LNEC_WS_GNU/schism_init.o: In function `schism_init': schism_init.F90:(.text+0x2277e): undefined reference to `__mtridiagonal_MOD_init_tridiagonal' /fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5.2_andre/build2/gfortran/lib/libturbulence.a(dissipationeq.F90.o): In function `dissipationeq_': dissipationeq.F90:(.text+0x409): undefined reference to `diff_face_' /fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5.2_andre/build2/gfortran/lib/libturbulence.a(genericeq.F90.o): In function `genericeq_': genericeq.F90:(.text+0x456): undefined reference to `diff_face_' /fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5.2_andre/build2/gfortran/lib/libturbulence.a(kbeq.F90.o): In function `kbeq_': kbeq.F90:(.text+0x1f5): undefined reference to `diff_face_' kbeq.F90:(.text+0x329): undefined reference to `diff_face_' /fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5.2_andre/build2/gfortran/lib/libturbulence.a(lengthscaleeq.F90.o): In function `lengthscaleeq_': lengthscaleeq.F90:(.text+0x4c8): undefined reference to `diff_face_' /fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5.2_andre/build2/gfortran/lib/libturbulence.a(q2over2eq.F90.o):q2over2eq.F90:(.text+0x3ab): more undefined references to `diff_face_' follow collect2: error: ld returned 1 exit status make: *** [Makefile:412: pschism_LNEC_WS_GNU_VL_GOTM] Error 1_ As fortran compiler I use GFORTRAN. Thanks in advance |
Hello,
The compilation of the model with only the TVD module goes well and I use a similar Make.defs file to the Make.defs.lnec.ws.gnu one.
When I try to turn on the GOTM module, in addition to the previous TVD, the compilation doesn't happen.
I compiled the github GOTM version and I get the differnt libraries and modules of the closure model. I pass the required paths to the Make.defs.local file and then I try to compile the new SCHISM model with make pschism, after running a make clean.
The compilation seems to go well and it arrives at 100%, but after that I get this message:
/usr/lib64/openmpi/bin/mpif90 -O2 o/svn.LNEC_WS_GNU/schism_version.o o/svn.LNEC_WS_GNU/schism_glbl.o o/svn.LNEC_WS_GNU/schism_msgp.o o/svn.LNEC_WS_GNU/scribe_io.o o/svn.LNEC_WS_GNU/misc_modules.o o/svn.LNEC_WS_GNU/schism_io.o o/svn.LNEC_WS_GNU/schism_driver.o o/svn.LNEC_WS_GNU/gen_modules_clock.o o/svn.LNEC_WS_GNU/grid_subs.o o/svn.LNEC_WS_GNU/hydraulic_structures.o o/svn.LNEC_WS_GNU/schism_init.o o/svn.LNEC_WS_GNU/schism_step.o o/svn.LNEC_WS_GNU/schism_finalize.o o/svn.LNEC_WS_GNU/bktrk_subs.o o/svn.LNEC_WS_GNU/solver_subs.o o/svn.LNEC_WS_GNU/misc_subs.o o/svn.LNEC_WS_GNU/transport_TVD_imp.o o/svn.LNEC_WS_GNU/sflux_9c.o o/svn.LNEC_WS_GNU/lap.o -L./ParMetis-4.0.3 -lparmetis -lmetis -L/usr/lib64 -lnetcdf -lnetcdff -L/fs/scratch/mare_exp/emilia/SCHISM/model/schism/src/GOTM5_git/build2/lib -libturbulence_prod -libutil_prod -J. -I. -o pschism_LNEC_WS_GNU_VL_GOTM
/usr/bin/ld: cannot find -libturbulence_prod
/usr/bin/ld: cannot find -libutil_prod
collect2: error: ld returned 1 exit status
make: *** [Makefile:412: pschism_LNEC_WS_GNU_VL_GOTM] Error 1
I don't really know where SCHISM gets the path /usr/bin/ld for the two libraries, but the path given is not a directory.
Did anyone had a similar problem?
The text was updated successfully, but these errors were encountered: