Search found 63 matches

by JDTilley
Mon May 15, 2017 6:05 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

So looking at my zeta vs tide gauge data, it seems that the amplitudes of my tides are reasonable, although I must have miscalculated my TIDE_START. Let me show you an example of what I have, and maybe someone can tell me if it looks ridiculous to them. Tides certainly have a big effect on our ...
by JDTilley
Sat May 13, 2017 3:27 am
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

So something is wrong with my tidal forcing. I am getting an extremely tidally dominated system, when in reality, my system is mixed between wind and tide. Do I need to adjust viscosity if I add tides? I think it is a units problem. Something is way off. My tidal forcing netcdf file has amplitudes ...
by JDTilley
Tue Apr 18, 2017 7:52 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

I managed to get the data I needed by translating the MATLAB code from here into Python: https://www.myroms.org/index.php?page=forcing I can't make any guarantees, but it seems to work. def ap2ep(Au, PHIu, Av, PHIv): PHIu = PHIu / 180. * np.pi PHIv = PHIv / 180. * np.pi # Make complex amplitudes for ...
by JDTilley
Tue Apr 18, 2017 2:52 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

So I decided to go with ADCIRC. It gives me higher resolution, required less hard drive space to install, and has decent documentation online. I created the dataset, and now I just need to get the data into my forcing file. I get two output files, elev_hc.out and vel_hc.out. In elev_hc.out the first ...
by JDTilley
Mon Apr 17, 2017 7:52 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

So you mean the UV data? I have found a DAP server for the hf data: http://geoport.whoi.edu/thredds/dodsC/usgs/data2/rsignell/data/tpx08/catalog.html But unfortunately, I don't see the UV data. Would you happen to know any DAP servers for TPXO8? I would like to avoid downloading 20 GB of data if ...
by JDTilley
Mon Apr 17, 2017 7:16 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Re: Tidal Forcing File

Great. I was looking at TPXO Atlas 8. Unfortunately, I do not have a Matlab license available. I have seen a Python script here: https://github.com/ESMG/pyroms/blob/master/examples/make_tide/make_tide.py Also, I see another package that may be of use here: https://ocefpaf.github.io ...
by JDTilley
Mon Apr 17, 2017 6:41 pm
Forum: ROMS Discussion
Topic: Tidal Forcing File
Replies: 16
Views: 17065

Tidal Forcing File

I am just starting to create my first tidal forcing file and I have a few questions. I have created a blank file based off of frc_tides.cdl. Where is time in this file? Do I need to add it manually? To me it seems a tidal forcing file should contain spatial arrays of tidal heights over time. Is this ...
by JDTilley
Fri Apr 07, 2017 4:07 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

Oh! I hope that's right. So much better! Can't wait to do a longer run. You are always so helpful. I can't thank you enough.
by JDTilley
Fri Apr 07, 2017 3:57 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

Oops. OK. So my equation for viscosity would be

visc2 = (800*2/pi)**2/150 ?
by JDTilley
Fri Apr 07, 2017 3:39 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

So it seems there are several approaches to honing the diffusivity value, and I might end up having to break out my calculus textbook. However, I see from another page that a decent "rule-of-thumb" approximation is: visc2 ~ (delta_x / pi)**2 / timescale and that TNU2 can often be set to 10% of this ...
by JDTilley
Thu Apr 06, 2017 11:20 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

hmm... is this the location of the parameter? ! Harmonic/biharmonic horizontal diffusion of tracer for nonlinear model ! and adjoint-based algorithms: [1:NAT+NPT,Ngrids]. TNU2 == 0.0d0 0.0d0 ! m2/s TNU4 == 2*0.0d0 ! m4/s ad_TNU2 == 0.0d0 0.0d0 ! m2/s ad_TNU4 == 0.0d0 0.0d0 ! m4/s ! Harmonic ...
by JDTilley
Thu Apr 06, 2017 7:56 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

I appreciate the suggestion, but so far I have not had any success. I tried using MIX_GEO_TS along with TS_DIF4. It might help if I show you what seem to the relevant macros in the header file. Its probably some glaring novice mistake. /* Define to compute the momentum advection terms */ #define UV ...
by JDTilley
Thu Apr 06, 2017 12:09 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Re: Strange artifacts in model output

Great. Thanks for the help. I did not explicitly add diffusion after removing U3 advection. I will try that. As this is late spring, it is sensible that the offshore waters would be warmer, so it is good to know that the boundaries might be behaving properly. This is a map of surface temperature. I ...
by JDTilley
Wed Apr 05, 2017 8:39 pm
Forum: ROMS Discussion
Topic: Strange artifacts in model output
Replies: 9
Views: 4840

Strange artifacts in model output

I have been working on developing a circulation model for my area. I've managed to get the model running, but I'm getting strange strip artifacts in my model output. In addition, I'm not sure if my boundaries are behaving properly either. You can see as it spins up that there are not the strange ...
by JDTilley
Thu Dec 22, 2016 5:42 pm
Forum: ROMS Discussion
Topic: Running ROMS in macOS Sierra
Replies: 4
Views: 2871

Re: Running ROMS in macOS Sierra

I run ROMS on Sierra with Macports. One thing I learned is that you need to use the same compiler for everything. So for a gfortran build, the command to install all dependencies using gcc5 would be something like: sudo port install hdf5 +fortran +gcc5 +hl +szip +cxx netcdf +gcc5 +netcdf4 netcdf ...
by JDTilley
Wed Nov 16, 2016 10:01 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

They were indeed upside down, and I'm happy to report I worked past my boundary issue! Turns out I had some nans in ubar and vbar that I had carelessly not dealt with. Once I fixed those the model would run with TKE mixing boundary conditions set to closed. The model still looks like it could use ...
by JDTilley
Wed Nov 16, 2016 3:33 am
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

Something that may help me would be a better understanding of sigma coordinates and array index order in the netcdf files. I'm noticing that in my climatology that the surface is at the 0 index and the bottom is at the highest index. However, if I check my grid, I see that s_w[0] is -1 and 0 at the ...
by JDTilley
Tue Nov 15, 2016 11:23 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

I'll give it a shot. It's not ancient code. I even created a new folder with the ROMS source pulled fresh with svn and the problem remains. My best guesses so far are problems in the code I wrote to create my climatology or possibly the way SeaPy handles importing grids from netcdf. In SeaPy ...
by JDTilley
Tue Nov 15, 2016 10:52 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

OK. I have this: LBC(isFsur) == Che Che Che Che ! free-surface LBC(isUbar) == Shc Shc Shc Shc ! 2D U-momentum LBC(isVbar) == Shc Shc Shc Shc ! 2D V-momentum LBC(isUvel) == RadNud RadNud RadNud RadNud ! 3D U-momentum LBC(isVvel) == RadNud RadNud RadNud RadNud ! 3D V-momentum LBC(isMtke) == Per Per ...
by JDTilley
Tue Nov 15, 2016 10:33 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

I'm not sure. That was not my intention, but it is possible something is set that shouldn't be since I used ocean_upwelling.in as a starting point to making my input file. How would I go about checking if my model is doubly periodic?
by JDTilley
Tue Nov 15, 2016 9:36 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Re: Why are my boundaries flipped in my model?

I guess what would be really helpful to know is whether it is possible that something in my netcdf configuration, build.bash, ocean.in, or my header file would cause this. Or is it something wrong in my grid, clim, bry, or ini file?
by JDTilley
Fri Nov 04, 2016 8:53 pm
Forum: ROMS Discussion
Topic: Why are my boundaries flipped in my model?
Replies: 10
Views: 9543

Why are my boundaries flipped in my model?

I have been working on a model, but the output shows that my boundaries are swapped (north is south, east is west, etc). I have been unable to figure out what the root of the problem is whether it be a misspecified grid, a bad setting, something installed incorrectly, etc. If you look at my input ...
by JDTilley
Wed Nov 02, 2016 10:30 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

I think I've figured out my problem. I think the data arrays in my boundary files are backward. At first I thought the lines at the edges of my animations were artifacts of my laziness. But that is the actually output in my _his file. It seems the script I used to create my boundary file was ...
by JDTilley
Wed Nov 02, 2016 1:29 am
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

Well the error above was cause by me not having set temp:time in my climatology file. So I managed to get the model running again, but I still have the same problem. Any insights would be greatly appreciated.
by JDTilley
Tue Nov 01, 2016 10:24 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

Actually, looking over my ocean.in file it seems that the TCLM_NUDGING macro (among others) is obsolete. So I will try to turn on the logical switches for LTracerCLM and LnudgeTCLM and defining ANA_NUDGCOEF in the header file. EDIT: scratch that, now it gives an error: NETCDF_GET_FVAR_1D - error ...
by JDTilley
Tue Nov 01, 2016 8:54 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

Thanks. I set my nudging coefficients as: ! Nudging/relaxation time scales, inverse scales will be computed ! internally, [1:Ngrids]. TNUDG == 2*10.0d0 ! days ZNUDG == 0.0d0 ! days M2NUDG == 0.0d0 ! days M3NUDG == 0.0d0 ! days ! Factor between passive (outflow) and active (inflow) open boundary ...
by JDTilley
Fri Oct 21, 2016 12:20 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

My boundaries were derived from my climatology file using SeaPy. I created an animation of the cross-section of the southern boundary and everything looked reasonable. So how would I set my inflow/outflow to 1 and 10 days? Thanks.
by JDTilley
Thu Oct 20, 2016 8:47 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

So I figured out you can upload animated gifs, so I am attaching a couple here. I am only doing short model runs at this point. It is the bottom layer that the cold is creeping in, and the surface has the opposite problem. I did try setting my nudging timescales, but the problem still remains ...
by JDTilley
Thu Oct 20, 2016 7:57 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Re: Very cold water forming at boundaries

The cold water is forming at the ocean boundaries, not at the land/sea boundaries. I have TNUDG set to 2*0.0d0, which now that I look at it, seems to imply zero. Could that be my problem? As far as my grid goes, it is the same resolution as my climatology and boundary files, although finer than my ...
by JDTilley
Thu Oct 20, 2016 6:20 pm
Forum: ROMS Discussion
Topic: Very cold water forming at boundaries
Replies: 10
Views: 6314

Very cold water forming at boundaries

I am still a novice at ocean modeling, and I am having an issue with cold water (< 5º in shallow water) forming at my boundaries during August in the Gulf of Mexico. I have checked and double checked my climatology, boundary, and forcing files, but can't see anything that should cause this. I have ...
by JDTilley
Thu Sep 01, 2016 6:59 pm
Forum: ROMS Discussion
Topic: Flather condition at single boundary causes model blowup
Replies: 6
Views: 4103

Re: Flather condition at single boundary causes model blowup

Great. Thanks. I might take a few days to test again. Right now I am redoing my climatology from the ground up. Making good progress. Only have 3D u and v left to do at this point.
by JDTilley
Wed Aug 31, 2016 3:02 pm
Forum: ROMS Discussion
Topic: Flather condition at single boundary causes model blowup
Replies: 6
Views: 4103

Re: Flather condition at single boundary causes model blowup

So I believe I have addressed my climatology and boundary problems. However, I'm still blowing up at iteration 4225 of 8640. I already pushed DT down to 150 s. Should I decrease this or would I be covering up some bigger issue? Also, I am curious about closed boundary conditions. In your example ...
by JDTilley
Sat Aug 27, 2016 9:18 pm
Forum: ROMS Discussion
Topic: Flather condition at single boundary causes model blowup
Replies: 6
Views: 4103

Re: Flather condition at single boundary causes model blowup

You were right on. I see that my boundary file has bad data that originates from my climatology file. Looks like I'll have to sort through that to get my model working properly.
by JDTilley
Sat Aug 27, 2016 7:58 pm
Forum: ROMS Discussion
Topic: Flather condition at single boundary causes model blowup
Replies: 6
Views: 4103

Re: Flather condition at single boundary causes model blowup

Thanks for all the great information. I didn't realize those cppdefs were unnecessary. I will try to figure out what's going on with my boundary file and hopefully will have an update soon.
by JDTilley
Fri Aug 26, 2016 6:01 pm
Forum: ROMS Discussion
Topic: Flather condition at single boundary causes model blowup
Replies: 6
Views: 4103

Flather condition at single boundary causes model blowup

I am working on a circulation model, that runs fine until I apply a Flather condition for 2D momentum to one of my boundaries. A Flather condition works fine for all my other boundaries. For example, in my .in file, the following works: ! W S E N ! e o a o ! s u s r ! t t t t ! h h ! ! 1 2 3 4 LBC ...
by JDTilley
Sat May 21, 2016 9:53 pm
Forum: ROMS Discussion
Topic: Error building when applying MASKING
Replies: 1
Views: 2321

Re: Error building when applying MASKING

Well turns out I had

Code: Select all

#define ana_grid
in my header file. :roll: Removing that fixed the problem. Sorry to bother.
by JDTilley
Sat May 21, 2016 6:34 pm
Forum: ROMS Discussion
Topic: Error building when applying MASKING
Replies: 1
Views: 2321

Error building when applying MASKING

So surprisingly, my input files are set up to the point where I can run a 3D model. When I visualize the output from ocean_his.nc, I see that the land is not masked. The fields mask_rho, mask_u, mask_v, and mask_psi are all in my input grid file. I thought if I set: #define MASKING in my .h file ...
by JDTilley
Fri May 20, 2016 11:32 pm
Forum: ROMS Discussion
Topic: generating vgrid in pyroms with positive bathymetry values
Replies: 5
Views: 3995

Re: generating vgrid in pyroms with positive bathymetry valu

I'm so new to this I honestly don't know. I have successfully run the upwelling and bio_toy examples, but this is my first attempt at a 3d grid. There is land in my grid. I should have it masked out, but I don't know how the program will treat it. It seems if there is some minimum sigma thickness ...
by JDTilley
Fri May 20, 2016 8:10 pm
Forum: ROMS Discussion
Topic: generating vgrid in pyroms with positive bathymetry values
Replies: 5
Views: 3995

Re: generating vgrid in pyroms with positive bathymetry valu

Thank you very much! I don't know how I missed that. That might be enough to get me on the right track. EDIT: surely enough, handling the minimum values as in `pyroms/examples/stuff/make_grid.py` fixed it. In addition, I wasn't making the bathymetry depth positive. With these changes the climatology ...
by JDTilley
Fri May 20, 2016 3:43 am
Forum: ROMS Discussion
Topic: generating vgrid in pyroms with positive bathymetry values
Replies: 5
Views: 3995

generating vgrid in pyroms with positive bathymetry values

I am trying to generate my first vertical grid using pyroms. I am having trouble understanding how to handle land points where the bathymetry is positive (negative actually). So far I've tried to deal with it by setting: hmin = -10 idx = np.where(hgrd.mask_rho == 0) h[idx] = hmin but I still end up ...
by JDTilley
Sat Mar 12, 2016 4:46 am
Forum: ROMS Discussion
Topic: Reading ROMS files in R (R-project)
Replies: 4
Views: 5668

Re: Reading ROMS files in R (R-project)

In addition to the netcdf4 library, rgdal works great with many spatial datatypes.
by JDTilley
Tue Dec 15, 2015 2:24 pm
Forum: ROMS Tools and Techniques
Topic: ecological model
Replies: 5
Views: 5512

Re: ecological model

The bio_toy test case allows you to run a 1d test case of the various biological models.

https://www.myroms.org/wiki/Test_Cases

You can find the ROMS user guide here.

https://www.myroms.org/Workshops/ROMS20 ... manual.pdf
by JDTilley
Mon Dec 14, 2015 4:44 am
Forum: ROMS Tools and Techniques
Topic: ecological model
Replies: 5
Views: 5512

Re: ecological model

ROMS includes some coupled ecological models in the source code (Fennel, ecosim, etc.). I know nitrate is in many of them, I don't know how many do phosphorus. It seems ecosim has a couple parameters related to it.

https://www.myroms.org/wiki/ecosim.in

Hope this helps.
by JDTilley
Fri Nov 20, 2015 11:11 pm
Forum: ROMS Tools and Techniques
Topic: ocean_time in pyroms_toolbox.nc_create_roms_bdry_file
Replies: 0
Views: 3028

ocean_time in pyroms_toolbox.nc_create_roms_bdry_file

I decided to use pyroms to create my input netCDFs. I have successfully created a grid file, and now I'm trying to create a boundary file. I see the function for this is: pyroms_toolbox.nc_create_roms_bdry_file The function call is: nc_create_roms_bdry_file(filename, grd, ocean_time) so I tried ...
by JDTilley
Wed Nov 18, 2015 2:32 pm
Forum: ROMS Discussion
Topic: PyROMS vs Octant
Replies: 4
Views: 3078

Re: PyROMS vs Octant

Thanks for the info. I managed to get Octant running, so I'll look for the same function in there. I'll give the CDL example a shot. Thanks.
by JDTilley
Mon Nov 16, 2015 11:01 pm
Forum: ROMS Discussion
Topic: PyROMS vs Octant
Replies: 4
Views: 3078

Re: PyROMS vs Octant

Thanks. I am mostly interested in what you are talking about, particularly the boundary file part. Still it would be nice to have some libraries for visualization and other things. I already made a grid file in Python on my own, and it looked right when I looked at it in Okean. Its the boundary file ...
by JDTilley
Sun Nov 15, 2015 3:02 am
Forum: ROMS Discussion
Topic: PyROMS vs Octant
Replies: 4
Views: 3078

PyROMS vs Octant

I am curious what the difference is between these two distributions found on GitHub. I mainly use Python and think one of these will be useful for me creating grids and boundary files. However, I can't tell which one I should use. According to the PyROMS page: Pyroms is a collection of tools to help ...
by JDTilley
Wed Nov 11, 2015 3:20 pm
Forum: ROMS Discussion
Topic: Questions about grid files
Replies: 2
Views: 1942

Re: Questions about grid files

Wow. Thanks so much for all the great information!
by JDTilley
Wed Nov 11, 2015 4:00 am
Forum: ROMS Discussion
Topic: Questions about grid files
Replies: 2
Views: 1942

Questions about grid files

So I've managed to get ROMS installed and run multiple test cases. So now I am trying to take the next step and run the model for my study area. I am trying to build a netcdf file in Python, but there are a few things I'm not sure about. First, what is the spherical variable? I'm only trying to make ...
by JDTilley
Mon Nov 02, 2015 8:52 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Thanks. I deleted the sudo built executables and changed the owner of the build directory and build.bash executed correctly.
by JDTilley
Mon Nov 02, 2015 6:13 am
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

I appreciate all your help. I managed to get the project to compile. I had to uninstall all traces of netcdf4 and hdf5 from macports, and build everything from source. It was not trivial for me, but I'm happy you could steer me in the right direction. It took about 3 min to run (without debug). I ...
by JDTilley
Sat Oct 31, 2015 6:33 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Yes I uninstalled the old one. Netcdf is working as far as I can tell. Both nc-config --all and nf-config --all are giving me output.

edit: you are right. I am getting a segmentation fault using ncdump on some test .nc files.
by JDTilley
Sat Oct 31, 2015 6:01 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Thanks. I was able to get CC to gcc by doing:

Code: Select all

sudo port install netcdf-fortran configure.compiler=macports-gcc-5
Unfortunately I still get the error.
by JDTilley
Sat Oct 31, 2015 5:26 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

This may be a shot in the dark, but after some reading I am beginning to think that I should be using nf-config instead of nc-config. But in this I also noticed that nf-config seems to have some questionable settings. This netCDF-Fortran 4.4.2 has been built with the following features: --cc -> /usr ...
by JDTilley
Fri Oct 30, 2015 9:54 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

So -fbacktrace didn't reveal the line number. Any suggestions?
by JDTilley
Fri Oct 30, 2015 9:49 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Thanks. I will try editing the .mk file with the following, and see if I can get it.

Code: Select all

ifdef USE_DEBUG
           FFLAGS += -g -fbounds-check -fbacktrace
else
           FFLAGS += -O3 -ffast-math
endif
by JDTilley
Fri Oct 30, 2015 9:21 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

I think I saw the line number during compilation. I get the line here:

Code: Select all

makefile:234: INCLUDING FILE /Users/redacted/ROMS/Projects/Upwelling/Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
by JDTilley
Fri Oct 30, 2015 7:24 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Sorry, I did not realize the output.log didn't include the error. Here it is. I must have been mistaken about it giving a line number. DEF_HIS - creating history file, Grid 01: ocean_his.nc Program received signal SIGSEGV: Segmentation fault - invalid memory reference. Backtrace for this error: #0 ...
by JDTilley
Thu Oct 29, 2015 9:57 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

I retried with USE_DEBUG on, and I get the same result using oceanG. Attached is my log. You may notice I changed the OS setting to Darwin, although I'm not sure that's required (or advised) from the Mac installation wiki.
by JDTilley
Thu Oct 29, 2015 9:11 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Another question. I see that I have hdf5 installed as hdf5 @1.8.15-patch1_0+cxx+gcc5. There is a +fortran variant. Could my problem be related to this. I just noticed you mentioned hdf5 in the above post. I also find that the ocean_his.nc is corrupted when I try ncdump (although the fact it is only ...
by JDTilley
Thu Oct 29, 2015 8:11 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

I have attached the output log.
by JDTilley
Thu Oct 29, 2015 3:27 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

Re: ROMS with gfortran 5.2?

Thanks for the help. I apologize, I put the wrong link up there. It should be corrected now. My segmentation fault is occurring at run time. I was able to compile by setting USE_NETCDF4 to on. I also set my NETCDF_CONFIG to /opt/local/bin/nc-config and NETCDF_INCDIR to /opt/local/include (both the ...
by JDTilley
Wed Oct 28, 2015 11:57 pm
Forum: ROMS Installation
Topic: ROMS with gfortran 5.2?
Replies: 21
Views: 20359

ROMS with gfortran 5.2?

Hi. I am brand new to ROMS and compiled the source code for the first time yesterday. I use macports so my dependencies were installed using the gcc5, netcdf +netcdf4 +dap +gcc5, and netcdf-fortran +gcc5 ports. The compilation seemed to work, but I am having a problem running the Upwelling test case ...