Skip to content
Snippets Groups Projects
Commit f5bf3a0a authored by WAUTELET Philippe's avatar WAUTELET Philippe
Browse files

Philippe 19/06/2024: modd_io: workaround problem for NVHPC and Cray compilers

parent 868977b8
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,12 @@ TYPE(TFILEDATA), POINTER :: TFILE_SURFEX => NULL() !Pointer used to find the fi
TYPE(TFILEDATA), POINTER :: TFILE_OUTPUTLISTING => NULL() !Pointer used to point to the file used when writing to OUTPUT_LISTINGn file
!Non existing file which can be used as a dummy target
#if !defined(MNH_COMPILER_CCE) && !defined(MNH_COMPILER_NVHPC)
!Compiler crash with Cray CCE 12.0.3, OK with CCE 11.0.2
!Compiler crash with Nvidia NVHPC 23.11 and after (OK with older versions)
TYPE(TFILEDATA), TARGET :: TFILE_DUMMY = TFILEDATA( CNAME="dummy", CDIRNAME=NULL(), TFILES_IOZ=NULL() )
#else
TYPE(TFILEDATA), TARGET :: TFILE_DUMMY
#endif
END MODULE MODD_IO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment