Search found 13 matches

by donglai
Fri Jun 26, 2009 3:52 pm
Forum: ROMS Tools and Techniques
Topic: Issues with installing OCTANT on Linux x64
Replies: 6
Views: 5782

Re: Issues with installing OCTANT on Linux x64

Pavel, I do not see libgu.so being made in gridutils. I did a make clean and re-run make, only libgu.a is made. Donglai Hi Pavel, When I tried to make shlib the code complains that it doesn't know how: linux:~/ROMS/octant/external/gridutils$ make shlib make: *** No rule to make target `shlib'. Stop ...
by donglai
Fri Jun 26, 2009 2:19 pm
Forum: ROMS Tools and Techniques
Topic: Issues with installing OCTANT on Linux x64
Replies: 6
Views: 5782

Re: Issues with installing OCTANT on Linux x64

Hi Pavel, When I tried to make shlib the code complains that it doesn't know how: linux:~/ROMS/octant/external/gridutils$ make shlib make: *** No rule to make target `shlib'. Stop. I did make and make install gridutils. Also both regular make and make lib worked fine for gridgen. Thanks, Donglai So ...
by donglai
Tue Jun 23, 2009 7:45 pm
Forum: ROMS Tools and Techniques
Topic: Issues with installing OCTANT on Linux x64
Replies: 6
Views: 5782

Issues with installing OCTANT on Linux x64

So I decided to take a different approach after my OS X installation of OCTANT wasn't going anywhere. I installed Ubuntu 9.04 x64 on VMware Fusion and tried the Linux approach. I got through almost everything for gridgen except the last step of making the shared library. I receive the following ...
by donglai
Tue Jun 23, 2009 3:04 pm
Forum: ROMS Tools and Techniques
Topic: Issues with installing OCTANT on Mac OS X
Replies: 4
Views: 4322

Re: Issues with installing OCTANT on Mac OS X

I already use macports for many things. The issue is not broken dependencies of existing packages in macports, the problem is in configuring and making gridutils and gridgen. They are not recognizing the paths for csa, nn and each other.
by donglai
Mon Jun 22, 2009 5:51 pm
Forum: ROMS Tools and Techniques
Topic: Issues with installing OCTANT on Mac OS X
Replies: 4
Views: 4322

Issues with installing OCTANT on Mac OS X

Hi, I'm trying to install OCTANT (http://code.google.com/p/octant/) on my Mac OS X machine (10.5.7 with gcc433, python26+packages installed) and I'm running into several problems, one I can fix, others I can't. The documentation for OCTANT is rather minimal and I'm struggling to figure out how it ...
by donglai
Mon Feb 23, 2009 7:22 pm
Forum: ROMS Tools and Techniques
Topic: Grid generation
Replies: 61
Views: 215392

Re: Grid generation

I just did a re-write of seagrid2roms.m using Matlab 7.7+ built-in netcdf library. This version has no dependence on the netcdf_toolbox. If anyone's interested in helping me to test the code for various scenarios to shake out the bugs, please let me know.

Cheers,
Donglai
by donglai
Sat Aug 02, 2008 4:44 am
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

Re: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3

Quick installation update: This configuration runs fine with ROMS3 Revision 203, OS X 10.5.4, gcc/gfortran 4.2.4, MPICH2 1.0.7 and netcdf4.0. To install netcdf4 you'll need HDF5 1.8.1. Make sure you compile it all with the same c/fortran compiler (gfortran in this case). You don't need to enable ...
by donglai
Sat Mar 01, 2008 10:00 pm
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

Hi Alan, I have not tried the Intel Fortran Compiler. Currently I have no plan to adopt it simply because I'm happy with my configuration so far. Although I haven't compared the duo core versus single core performance, I'm pretty sure the performance nearly doubles and would likely double again with ...
by donglai
Fri Feb 15, 2008 9:03 am
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

I just want to clarify. After trying to build ROMS 3 on a second Mac Intel with almost identical configuration, I realized the important things that make this work are simply the follow: 1. get gcc42 from macports (i.e. sudo port install gcc42) 2. make sure /opt/local/bin, /opt/local/sbin, /usr ...
by donglai
Fri Feb 08, 2008 7:44 am
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

OKAY, I think got it to work! The default upwelling case is happily running utilizing both cores. :-D To fix the previous linking errors, I had to use the -fno-second-underscore flag when compiling netcdf with gfortran. I also turned off the --enable-shared flag like a previous posting suggested ...
by donglai
Fri Feb 08, 2008 5:58 am
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

Looking in libnetcdff.a I do see lines like: 00000040 T ___netcdf__nf90_strerror I compiled the netcdf 3.6.2 using the default flags (except for adding --enable-shared --enable-separate-fortran) I don't know what to change in my ROMS makefile or Darwin-gfortran.mk (which is a copy of Linux-gfortran ...
by donglai
Thu Feb 07, 2008 10:55 pm
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

Hi, I'm encountering the following error when trying to compile MPI enabled version of ROMS on my Mac OS X 10.5.1 Core 2 machine: mpif90 -frepack-arrays -O3 -ffast-math Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o -o ../runs/oceanM Build/libNLM.a Build/libANA.a Build ...
by donglai
Thu Feb 07, 2008 6:25 pm
Forum: ROMS Installation
Topic: ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3
Replies: 10
Views: 9426

ROMS 3, OS X 10.5.1 Intel, gfortran 4.2, MPI2 & netcdf 3

Hi everyone, I'm trying to compile ROMS 3 on my Intel Mac using gfortran and have it use both cores. I ran into a brick wall using OpenMP (something about threadprivate not available on the Mac platform), now I'm trying the MPICH2 path (had trouble compiling MPICH1 on OS X Leopard). Has anyone had ...