#2679: How to link an externally compiled library during ET compilation
| Reporter: | Maria Mutz |
| Status: | open |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | minor |
| Component: |
Comment (by Roland Haas):
Thank you. Ok so the line that triggers the error is the last executed one:
gcc -L/cm/shared/apps/spack/cpu/opt/spack/linux-centos8-zen2/gcc-10.2.0/numactl-2.0.12-brsvuiqgwwnn2otgnu3pyemvgp6dal2n/lib/ -lm -lgfortran -L/home/mmutz/Cactus/arrangements/MRNS/Cocalthorn/src/Cocal_MRNS/Main_utility/ -lcocalmrns include_modulefiles_MRNS.f90.o -o include_modulefiles_MRNS.f90
which indeed is full compile and link (no -c flag). This line should not be there, in particular since the lines above:
1673483420.23084 Compiling /home/mmutz/Cactus/arrangements/MRNS/Cocalthorn/src/include_modulefiles_MRNS.f90 current_wd=`pwd` ; cd /home/mmutz/Cactus/configs/sim18/scratch ; gfortran -m128bit-long-double -fcray-pointer ---
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2679/how-to-link-an-externally-compiled-library