Search found 6 matches

by dsdarr
Tue Jul 19, 2022 10:11 pm
Forum: ROMS Installation
Topic: Errors when compiling ROMS with PIO
Replies: 1
Views: 5068

Re: Errors when compiling ROMS with PIO

Never mind! I have figured this out! I needed to add "-lnetcdf" to the linker command! Not sure why that didn't happen but I guess it doesn't matter at this point.
by dsdarr
Tue Jul 19, 2022 8:30 pm
Forum: ROMS Installation
Topic: Errors when compiling ROMS with PIO
Replies: 1
Views: 5068

Errors when compiling ROMS with PIO

Hi ROMS people, We've recently been trying to compile ROMS with PIO on the cluster we are using. I had little problem compiling pnetcdf and PIO (using the instructions here https://www.myroms.org/wiki/External_Libraries) as a guidline. However, when I attempted to compile ROMS (most recent svn ...
by dsdarr
Mon Jul 19, 2010 8:00 pm
Forum: ROMS Problems
Topic: Restarting floats
Replies: 4
Views: 3036

Re: Restarting floats

I am having trouble starting floats in the middle of a run. I want to re-start a run (that was run without floats) and then add floats at a few key locations and view their evolution. So, I recompiled with #define FLOATS and the initial header info shows that my floats.in file is being read ...
by dsdarr
Fri Aug 03, 2007 9:19 pm
Forum: ROMS Discussion
Topic: ROMS3 with gfortran and MPICH2
Replies: 4
Views: 3542

Okay I figured out how to resolve this. If I copy mpiif.h directly to the Build directory manually it will compile. I still can't figure out why it doesn't see it in my mpich2/include directory though, especially in light of the fact that it works fine under PGI.

thanks, David
by dsdarr
Fri Aug 03, 2007 9:13 pm
Forum: ROMS Discussion
Topic: ROMS3 with gfortran and MPICH2
Replies: 4
Views: 3542

ROMS3 with gfortran and MPICH2

jcwarner wrote:check your environment and see if the location of mpif.h is in your INCLUDE list.
That's the bizarre thing. It is. I should have mentioned this. I had no problem, by the way, of getting the PGI version of this to compile with MPICH2.

David
by dsdarr
Fri Aug 03, 2007 8:43 pm
Forum: ROMS Discussion
Topic: ROMS3 with gfortran and MPICH2
Replies: 4
Views: 3542

ROMS3 with gfortran and MPICH2

I can't seem to get ROMS3 to compile with gfortran and MPICH2. I have no trouble compiling the serial version. I have compiled (and recompiled) the MPICH2 package with gfortran (with no apparent problems) but when I attempt to compile ROMS I consistently get: cd Build; gfortran -c -frepack-arrays ...