Nesting Issue at Compile

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
bhayward
Posts: 7
Joined: Thu Aug 31, 2023 3:51 pm
Location: University of Maine

Nesting Issue at Compile

#1 Unread post by bhayward »

Hello,

I'm still working on making sure I've updated to version 4.2, and am working on getting nesting working in the dogbone test case. When I try to compile, I get the following error.

Code: Select all


post_initial.f90(70): error #6404: This name does not have a type, and must have an explicit type.   [NGETD]
        CALL nesting (ng, model, ngetD)
---------------------------------^
compilation aborted for post_initial.f90 (code 1)
make: *** [/home/bhayward/roms_project/dogbone5/Refined/Build_romsO/post_initial.o] Error 1

It looks like ngetD is defined in mod_nesting.F, and that it's not getting defined before getting to this line? The version of ROMS I was using before updating did not have this line, which may be a hint I should update more frequently. Putting 'USE mod_nesting' before the function gives a different error. Removing the line allows the script to compile, but the model blows up when run, I assume because the donor grid contact points were not assigned correctly.

After modifying post_inital.F, I reinstalled ROMS and the test cases to confirm I still get the original error, and I do. I've attached my build script, which is the only file I've modified after reinstalling.

Thank you for your time.

-Ben
Attachments
build_roms.sh
(15.65 KiB) Downloaded 3 times

Post Reply