Opened 5 years ago

Closed 5 years ago

#109 closed Defect (fixed)

error when compiling the flexwrf3.2 with netcdf 4.0

Reported by: koala2014 Owned by: jbrioude
Priority: major Milestone: FLEXPART_WRF_3.2_FPbase_9
Component: FP coding/compilation Version: FLEXPART-WRF
Keywords: NETCDF Cc:

Description

Hi,
When I compile the flexwrf3.2 beta with netcdf 4.0.1, the errors was accured as follows :
pgf90 -c -I/home/weipeng/programfile/lib/netcdf4.0.1-pgi10/include -fastsse -mcmodel=medium write_ncheader.f90
PGF90-S-0038-Symbol, nf_netcdf4, has not been explicitly declared (write_ncheader.f90)
PGF90-S-0038-Symbol, nf_def_var_deflate, has not been explicitly declared (write_ncheader.f90)

0 inform, 0 warnings, 2 severes, 0 fatal for write_ncheader

There was no errors while compiling the *.f file but the script stoped when making the excute file.
I don't konw how to solve it and any helps will be appreciate.
Thanks!

Change History (3)

comment:1 Changed 5 years ago by jbrioude

  • Owner changed from somebody to jbrioude
  • Status changed from new to assigned

Hi,
sorry for the late reply.
Can you attach your makefile ?
Thanks

comment:2 Changed 5 years ago by pesei

Your error message is a sign that the the module netcdf.inc was not available. This is not part of FLEXPART WRF, it comes from the netCDF library. Make sure you have development kit of netCDF libs and that your include path in the makefile is correct.

comment:3 Changed 5 years ago by jbrioude

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.
hosted by ZAMG