Ocean Modeling Discussion


Search for:
It is currently Wed Aug 21, 2019 9:27 am

Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Author Message
PostPosted: Tue May 07, 2019 3:48 am 

Joined: Sun May 20, 2018 1:50 pm
Posts: 1
Location: University of Florida
Hi all,
I'm very new to ROMS (and cygwin, and Linux, and so many other related things...) so I apologize if I'm asking stupid questions.

I have set up ROMS with cygwin and able to run some test case examples like upwelling and estuary_test. Now I want visualize the results so I follow https://www.myroms.org/wiki/Plotting_Pa ... stallation this tutorial to try to set up the plotting package.

However when I tried to install NCL, I realized that they no longer support cygwin, so I instead install NCL with Ubuntu.

Therefore my first question is: is it OK to install NCL with Ubuntu rather then cygwin?

Then, I continued to modify the makefile and the CYGWIN-gfortran.mk to the best I can (like changing the NCARG_ROOT, NETCDF_INCDIR, and NETCDF_LIBDIR in the .mk file). But still get these during make:

$ make
/usr/bin/gfortran -O3 -ffast-math Build_plt/ccnt.o Build_plt/cpmpxy2d.o Build_plt/mapeod.o Build_plt/stumsl.o Build_plt/stumxy.o Build_plt/vvumxy.o -o E:/ROMS/src/plot/ccnt.exe Build_plt/libUTIL.a -LC:/Users/JavaLoveShannon/AppData/Local/Packages/CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc/LocalState/rootfs/home/javazhou/.conda/pkgs/ncl-6.6.2-hc2f75e0_2/lib -lncarg -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11 -L/usr/local/lib -lnetcdf
collect2: fatal error:ld terminated with signal 11 [Segmentation fault], core dumped
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/ld: BFD (GNU Binutils) assertion fail /cygdrive/i/szsz/tmpp/cygwin64/binutils/binutils-2.29-1.x86_64/src/binutils-gdb/bfd/cofflink.c:265
make: *** [Drivers/Module.mk:51:E:/ROMS/src/plot/ccnt.exe] error 1

I have no idea what is going on here. Any help will be appreciated. Thank you!!!!!

CYGWIN-gfortran.mk [2.71 KiB]
Downloaded 14 times
Reply with quote  
PostPosted: Tue May 07, 2019 1:19 pm 
Site Admin
User avatar

Joined: Wed Feb 26, 2003 3:12 pm
Posts: 121
Location: IMCS, Rutgers University
Once you switch to Ubuntu, the plotting package will look for Linux-gfortran.mk not CYGWIN-gfortran.mk. Also, I would suggest a switch to using the build script (src/Bin/build_plt.{sh|bash}) so you don't have to modify the Linux-gfortran.mk file directly.

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group