Changes between Initial Version and Version 1 of Ticket #269, comment 4


Ignore:
Timestamp:
Jun 29, 2021, 5:47:18 PM (3 years ago)
Author:
donaldjmorton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #269, comment 4

    initial v1  
    1212timemanager_mpi.o
    1313 
    14 In fact, as written, if NetCDF report is not enabled (via ncf=yes), it looks like the makefile will not include the $(OBJECTS_NCF) value, and so compilation of the above four files will fail because of no netcdf_output_mod.o, but due to the makefile construction, there will be an attempt to compile netcdf_output_mod.f90.  And, since netcdf_output_mod.f90 has a "use netcdf" statement, it's compilation will fail unless the compiler can find a netcdf.mod
     14In fact, as written, if NetCDF support is not enabled (via ncf=yes), it looks like the makefile will not include the $(OBJECTS_NCF) value, and so compilation of the above four files will fail because of no netcdf_output_mod.o, but due to the makefile construction, there will be an attempt to compile netcdf_output_mod.f90.  And, since netcdf_output_mod.f90 has a "use netcdf" statement, it's compilation will fail unless the compiler can find a netcdf.mod
    1515
    1616I understand that one can easily remove the netcdf_output_mod.o dependency from the four above files and it "should" all work, but it's not immediately obvious and I think a new user could really struggle with this (I struggled for a while, trying to understand why compile was failing, even with the -UUSE_NCF flags being included).
hosted by ZAMG