mariale33@gmail_com
New Member
Hi,
We are having trouble compiling paleotopo.f90. We have tried in both Mac OS and MintLinux.
Our Fortran compiler is GNU Fortran 4.7.2.
Our NetCDF version is 4.2.
The following message shows up:
/tmp/ccw4171p.o: na função `add_topo_':
paleotopo.f90:(.text+0x5b8d): undefined reference for `nf_open_'
paleotopo.f90:(.text+0x5bd6): undefined reference for`nf_inq_varid_'
paleotopo.f90:(.text+0x5c26): undefined reference for `nf_inq_var_'
paleotopo.f90:(.text+0x5c5b): undefined reference for `nf_inq_dim_'
paleotopo.f90:(.text+0x5c94): undefined reference for `nf_inq_dim_'
paleotopo.f90:(.text+0x61b3): undefined reference for`nf_get_var_real_'
paleotopo.f90:(.text+0x61cd): undefined reference for `nf_close_'
collect2: error: ld returned 1 exit status
We suspect that it might be related to our netCDF version but we are not sure about it.
We appreciate any help. Thank you very much in advance
Maria Pivel
We are having trouble compiling paleotopo.f90. We have tried in both Mac OS and MintLinux.
Our Fortran compiler is GNU Fortran 4.7.2.
Our NetCDF version is 4.2.
The following message shows up:
/tmp/ccw4171p.o: na função `add_topo_':
paleotopo.f90:(.text+0x5b8d): undefined reference for `nf_open_'
paleotopo.f90:(.text+0x5bd6): undefined reference for`nf_inq_varid_'
paleotopo.f90:(.text+0x5c26): undefined reference for `nf_inq_var_'
paleotopo.f90:(.text+0x5c5b): undefined reference for `nf_inq_dim_'
paleotopo.f90:(.text+0x5c94): undefined reference for `nf_inq_dim_'
paleotopo.f90:(.text+0x61b3): undefined reference for`nf_get_var_real_'
paleotopo.f90:(.text+0x61cd): undefined reference for `nf_close_'
collect2: error: ld returned 1 exit status
We suspect that it might be related to our netCDF version but we are not sure about it.
We appreciate any help. Thank you very much in advance
Maria Pivel