PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Configuring WRF-CHEM 3.5 with PGI: which option?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
AZaldei



Joined: 22 Apr 2013
Posts: 9

PostPosted: Wed May 08, 2013 2:49 am    Post subject: Configuring WRF-CHEM 3.5 with PGI: which option? Reply with quote

Hi!

I would like to compile WRF-CHEM 3.5 on an Ubuntu 12.10 x64 machine.

On this machine I've already compiled the NetCDF libraries with PGI's compiler (pgfortran/pgcc), and, therefore, it's best to compile WRF with the same compiler.

Because of this I think I should select a configuration option of the WRF model which keeps this aspect into account (i.e.: it makes use of pgcc).

But the pgcc options seem to be tailored for specific architectures, since I can only see:

- the ones specifically tailored for the NCAR Yellowstone system (Linux x86_64 i486 i586 i686 PGI compiler with pgcc YELLOWSTONE (serial/smpar/dmpar/dm+sm) )
- the ones tailored for the message passing interface of SGI systems (Linux x86_64 i486 i586 i686 PGI compiler with pgcc SGI MPT (serial/smpar/dmpar/dm+sm)).

Otherwise I can choose options that make use of PGI compiler with gcc, but I'm afraid in losing compatibility with the NetCDF libraries.

What's my best option?

Thanks!
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6218
Location: The Portland Group Inc.

PostPosted: Wed May 08, 2013 9:13 am    Post subject: Reply with quote

Hi AZaldei,

While I don't know the exact differences between these two configurations, my guess is it's the MPI libraries used and the PGI flags are the same, The compatibility issues with NetCDF have to do with Fortran mod files and symbol naming, so using either gcc or pgcc doesn't effect compatibility. PGI is object compatible with gcc, so it's up to you which C compiler to use.

- Mat
Back to top
View user's profile
AZaldei



Joined: 22 Apr 2013
Posts: 9

PostPosted: Thu May 09, 2013 2:07 pm    Post subject: Reply with quote

Thanks Mat,

therefore I think I should use the "PGI with gcc" option...

Cheers!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group