@swmore 你好,我也遇到了用swafort编译mpi+openacc时,提示找不到netcdf.rmod,请问应该怎么解决呢?需要用swafort重新编辑netcdf吗?
编译器和选项是:
错误:
swafort -c -o trc.o -I/home/export/online1/systest/swsduhpc/zhou_sc/nemo/nemo-v4.0.2/cfgs/GYRE_PISCES/BLD/inc -i4 -r8 -O2 -OPT:IEEE_arith=1 -g -I/usr/sw-mpp/apps/bin/WRF/netcdf/include -I/usr/sw-mpp/apps/lib/hdf5-lib/include -c /home/export/online1/systest/swsduhpc/zhou_sc/nemo/nemo-v4.0.2/cfgs/GYRE_PISCES/BLD/ppsrc/nemo/trc.f90
File rmodFileName = netcdf.rmod NOT FOUND (expected to be present)
error: No declaration found for the module: netcdf
Error : cannot find the module (module should have been seen in a previously generated file) : netcdf
swacc_real: ../../../../edg4x-rose/src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C:17796: void c_action_use_stmt(Token_t*, Token_t*, Token_t*, Token_t*, Token_t*, ofp_bool, ofp_bool, ofp_bool): Assertion `false' failed.
File rmodFileName = netcdf.rmod NOT FOUND (expected to be present)
error: No declaration found for the module: netcdf
Error : cannot find the module (module should have been seen in a previously generated file) : netcdf
swacc_real: ../../../../edg4x-rose/src/frontend/OpenFortranParser_SAGE_Connection/FortranParserActionROSE.C:17796: void c_action_use_stmt(Token_t*, Token_t*, Token_t*, Token_t*, Token_t*, ofp_bool, ofp_bool, ofp_bool): Assertion `false' failed.
/usr/sw-mpp/bin//swafort: line 79: 11427 Aborted (core dumped) $REAL_SWACC -D__SWACC__ -D_OPENACC=20160806 -I/usr/sw-mpp/mpi2/include -fortran_support -lfortran_slave $NEW_ARG
fcm_internal compile failed (34304)make: *** [fliocom.o] Error 1make: *** Waiting for unfinished jobs....
/usr/sw-mpp/bin//swafort: line 79: 11428 Aborted (core dumped) $REAL_SWACC -D__SWACC__ -D_OPENACC=20160806 -I/usr/sw-mpp/mpi2/include -fortran_support -lfortran_slave $NEW_ARG
fcm_internal compile failed (34304)make: *** [flincom.o] Error 1