Compile error with neasyf
Issue #261
resolved
Trying to compile the latest master, I have an error related to the neasyf.mod file:
\$ make -IMakefiles
Compiling and preprocessing : /gs2_new/gs2/src/gs2_io_grids.fpp
/gs2_new/gs2/src/gs2_io_grids.fpp:7:6:
7 | use neasyf, only: neasyf_open, neasyf_close
| 1
Fatal Error: Cannot open module file ‘neasyf.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [Makefile:614: /gs2_new/gs2/objs/gs2_io_grids.o] Error
Previously GS2 did compile on my system with GK_SYSTEM = gnu_ubuntu.
Any suggestions appreciated
Comments (3)
-
reporter -
reporter - changed status to resolved
-
Sorry for the lack of help, I’ve just returned from leave. Glad this is resolved now. An alternative if you’ve already cloned is to do
make submodules ; make
(note in the latest master one shouldn’t need to specify-IMakefiles
, although no harm in doing so). - Log in to comment
Resolved by reading the documentation and using the --recurse-submodules option when cloning the repo.