This site is migrating to a new forum software on Tuesday, September 24th 2019, you may experience a short downtime during this transition

Main menu

Navigation

A question about CESM compile rules

1 post / 0 new
23lukia@...
A question about CESM compile rules

I'm a student of Tongji University. My undegraduate graduation project topic is about the application of GPU computation in CESM. I encounter a problem when I compile .cuf file and .F90 file,

I use PGI with CUDA FORTRAN library to compile CESM, where A.F90 depends on B.F90, B.F90 depends on C.cuf(a new file which I added in models). If I compile them independently, they cannot be compiled into .mod file since they haven't program keyword. The log shows that Unable to open module file C.mod  or undefined reference of C.mod.

How can I compile the .cuf file with other .F90 file? Should I modify the Makefile?

Who's new

  • jwolff
  • tinna.gunnarsdo...
  • sarthak2235@...
  • eolivares@...
  • shubham.gandhi@...