Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Mon Sep 23, 2019 12:53 am




Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Author Message
PostPosted: Wed Aug 10, 2005 8:04 pm 
Offline

Joined: Fri Apr 25, 2003 9:22 pm
Posts: 123
Location: USGS
Want to compile ROMS faster with little affect on the run time?

Ruoying He heard me complain about the length of time ROMS 2.2 was taking to compile on my Linux box with the Intel Fortran Compiler (5 minutes using *both* of my 3Ghz Zeon Processors!) and told me to compile with "-O2" instead of "-O3". He said -O2 compiles nearly twice as fast -O3 with little or no difference in the run time of the code. I tried it on my Adriatic simulations, and he was right: 200% faster compilation, and only 1% slower simulation!

-Rich


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 15, 2005 2:06 pm 
Offline
User avatar

Joined: Mon Apr 28, 2003 5:44 pm
Posts: 502
Location: Rutgers University
Did -O2 and -O3 give exactly the same result?
Just curious.

John

_________________
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu


Top
 Profile  
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 3 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