Closed wwieder closed 4 years ago
found the right readme to load gnu compiler
Yes, looks like something on the system changed. We might have to load a different module or use different paths in the Makefile. I'll check into it.
Melannie
On Thu, Sep 3, 2020 at 3:22 PM will wieder notifications@github.com wrote:
Hi @melanniehartman https://github.com/melanniehartman I was hoping to try spinning up MIMICS-CN with new parameters, but couldn't get the source code to compile. Not sure if it's because of the compilers now available on CGD machines or something else?
The error I'm getting is below:
corpse_variable.o corpse_soil_carbon.o corpse_inout.o corpse_cycle.o -L/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib -lnetcdff -lm /usr/bin/ld: warning: libgfortran.so.5, needed by /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so, not found (try using -rpath or -rpath-link) /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_reshape_4@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_runtime_error_at@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_shape_4@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_reshape_8@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_os_error@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_string_scan@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_size0@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_string_len_trim@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_internal_unpack@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_internal_pack@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to `_gfortran_concat_string@GFORTRAN_8' collect2: error: ld returned 1 exit status make: *** [casaclm_mimics-cn_corpse] Error 1
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHX3J72LDO7SRXWY3OBYKTSEACK7ANCNFSM4QWAZHCA .
Don't worry. I figured it out
On Thu, Sep 3, 2020, 7:28 PM melanniehartman notifications@github.com wrote:
Yes, looks like something on the system changed. We might have to load a different module or use different paths in the Makefile. I'll check into it.
Melannie
On Thu, Sep 3, 2020 at 3:22 PM will wieder notifications@github.com wrote:
Hi @melanniehartman https://github.com/melanniehartman I was hoping to try spinning up MIMICS-CN with new parameters, but couldn't get the source code to compile. Not sure if it's because of the compilers now available on CGD machines or something else?
The error I'm getting is below:
corpse_variable.o corpse_soil_carbon.o corpse_inout.o corpse_cycle.o -L/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib -lnetcdff -lm /usr/bin/ld: warning: libgfortran.so.5, needed by
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so, not found (try using -rpath or -rpath-link)
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_reshape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_runtime_error_at@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_shape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_reshape_8@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_os_error@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_string_scan@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_size0@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_string_len_trim@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_internal_unpack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to _gfortran_internal_pack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to `_gfortran_concat_string@GFORTRAN_8' collect2: error: ld returned 1 exit status make: *** [casaclm_mimics-cn_corpse] Error 1
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJHX3J72LDO7SRXWY3OBYKTSEACK7ANCNFSM4QWAZHCA
.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-686846549, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5IWJCXNXZQC7KSDQKSEB3SEA7D3ANCNFSM4QWAZHCA .
Great! What was the problem?
On Thu, Sep 3, 2020 at 9:04 PM will wieder notifications@github.com wrote:
Don't worry. I figured it out
On Thu, Sep 3, 2020, 7:28 PM melanniehartman notifications@github.com wrote:
Yes, looks like something on the system changed. We might have to load a different module or use different paths in the Makefile. I'll check into it.
Melannie
On Thu, Sep 3, 2020 at 3:22 PM will wieder notifications@github.com wrote:
Hi @melanniehartman https://github.com/melanniehartman I was hoping to try spinning up MIMICS-CN with new parameters, but couldn't get the source code to compile. Not sure if it's because of the compilers now available on CGD machines or something else?
The error I'm getting is below:
corpse_variable.o corpse_soil_carbon.o corpse_inout.o corpse_cycle.o -L/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib -lnetcdff -lm /usr/bin/ld: warning: libgfortran.so.5, needed by
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so,
not found (try using -rpath or -rpath-link)
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_reshape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_runtime_error_at@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_shape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_reshape_8@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_os_error@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_string_scan@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_size0@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_string_len_trim@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_internal_unpack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_internal_pack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to `_gfortran_concat_string@GFORTRAN_8' collect2: error: ld returned 1 exit status make: *** [casaclm_mimics-cn_corpse] Error 1
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AJHX3J72LDO7SRXWY3OBYKTSEACK7ANCNFSM4QWAZHCA
.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub < https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-686846549 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB5IWJCXNXZQC7KSDQKSEB3SEA7D3ANCNFSM4QWAZHCA
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-686872837, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJHX3J2EU5FRJ4IN3QU35G3SEBKL7ANCNFSM4QWAZHCA .
I just forgot to load the right compiler... rookie move
module load compiler/gnu/8.1.0
On Fri, Sep 4, 2020 at 7:23 AM melanniehartman notifications@github.com wrote:
Great! What was the problem?
On Thu, Sep 3, 2020 at 9:04 PM will wieder notifications@github.com wrote:
Don't worry. I figured it out
On Thu, Sep 3, 2020, 7:28 PM melanniehartman notifications@github.com wrote:
Yes, looks like something on the system changed. We might have to load a different module or use different paths in the Makefile. I'll check into it.
Melannie
On Thu, Sep 3, 2020 at 3:22 PM will wieder notifications@github.com wrote:
Hi @melanniehartman https://github.com/melanniehartman I was hoping to try spinning up MIMICS-CN with new parameters, but couldn't get the source code to compile. Not sure if it's because of the compilers now available on CGD machines or something else?
The error I'm getting is below:
corpse_variable.o corpse_soil_carbon.o corpse_inout.o corpse_cycle.o -L/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib -lnetcdff -lm /usr/bin/ld: warning: libgfortran.so.5, needed by
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so,
not found (try using -rpath or -rpath-link)
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_reshape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_runtime_error_at@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_shape_4@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_reshape_8@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_os_error@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_string_scan@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_size0@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_string_len_trim@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_internal_unpack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to _gfortran_internal_pack@GFORTRAN_8'
/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so:
undefined reference to `_gfortran_concat_string@GFORTRAN_8' collect2: error: ld returned 1 exit status make: *** [casaclm_mimics-cn_corpse] Error 1
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AJHX3J72LDO7SRXWY3OBYKTSEACK7ANCNFSM4QWAZHCA
.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub <
https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-686846549
, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AB5IWJCXNXZQC7KSDQKSEB3SEA7D3ANCNFSM4QWAZHCA
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-686872837 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AJHX3J2EU5FRJ4IN3QU35G3SEBKL7ANCNFSM4QWAZHCA
.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/wwieder/biogeochem_testbed_1.1/issues/35#issuecomment-687142390, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5IWJC7MWAJA3PNZE3IJN3SEDS4PANCNFSM4QWAZHCA .
Hi @melanniehartman I was hoping to try spinning up MIMICS-CN with new parameters, but couldn't get the source code to compile. Not sure if it's because of the compilers now available on CGD machines or something else? https://github.com/wwieder/biogeochem_testbed_1.1/blob/1e3e2d581ab8ccb97ffa19e87b0e286888933057/SOURCE_CODE/README.txt#L1
The error I'm getting is below:
corpse_variable.o corpse_soil_carbon.o corpse_inout.o corpse_cycle.o -L/usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib -lnetcdff -lm /usr/bin/ld: warning: libgfortran.so.5, needed by /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so, not found (try using -rpath or -rpath-link) /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_reshape_4@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_runtime_error_at@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to_gfortran_shape_4@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_reshape_8@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to_gfortran_os_error@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_string_scan@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to_gfortran_size0@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_string_len_trim@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to_gfortran_internal_unpack@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to
_gfortran_internal_pack@GFORTRAN_8' /usr/local/netcdf-c-4.6.1-f-4.4.4-gcc-g++-gfortran-8.1.0/lib/libnetcdff.so: undefined reference to `_gfortran_concat_string@GFORTRAN_8' collect2: error: ld returned 1 exit status make: *** [casaclm_mimics-cn_corpse] Error 1