gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1617 Posts in 535 Topics by 779 Members - Latest Member: rhoronjeff@comcast.net December 01, 2022, 07:42:05 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building POP 2.0.1 on 64-bit Linux
gfx
gfxgfx
 

Author Topic: Building POP 2.0.1 on 64-bit Linux  (Read 3530 times)

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 333
Building POP 2.0.1 on 64-bit Linux
« on: April 05, 2012, 01:55:51 PM »
This post provides instructions for building POP on 64-bit Linux with Absoft Pro Fortran 2012  (v11.5.0) and later.

Information on the Parallel Ocean Program (POP), can be found at the POP website: http://climate.lanl.gov/Models/POP/

Documentation for POP can found here: http://climate.lanl.gov/Models/POP/UsersGuide.pdf

POP requires that MPI and NetCDF be installed before POP can be built. Instructions for building and installing MPI and NetCDF can be found in other posts in this section.

1. Download the POP source code:

http://climate.lanl.gov/Models/POP/POP_2.0.1.tar.Z

2. Unpack the POP files into your home directory:

tar zxf POP_2.0.1.tar.Z

3. Modify the configuration file for use with Absoft Pro Fortran 2012:

The configuration file is ~/pop/input_templates/linux.gnu. Edit this file as follows:

Change lines 24 and 25 to:

NETCDFINC = -I/opt/netcdf64/include
NETCDFLIB = -L/opt/netcdf64/lib

Change line 63 to:

FBASE = $(ABI) $(NETCDFINC) -w -p$(ObjDepDir) -p/opt/netcdf64/include

Change line 84 to:

LIBS = $(NETCDFLIB) -lnetcdff -lnetcdf

4. Build POP:

export ARCHDIR=linux
cd ~pop
./setup_run_dir build
cd build
make

5. Test the POP application

mpirun -np 4 ./pop

A successful run displays:

.
.
.
POP exiting...
 Successful completion of POP run


Absoft User Forum  |  Support  |  Building and Using Additional Software & Libraries  |  Building POP 2.0.1 on 64-bit Linux
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!