Coder Social home page Coder Social logo

standalone_gfdl-vortextracker's Introduction

if cheyenne
setenv LIB_Z_PATH /glade/u/apps/ch/os/usr/lib64
setenv LIB_PNG_PATH /glade/u/apps/ch/os/usr/lib64
setenv LIB_JASPER_PATH /glade/u/apps/ch/os/usr/lib64
module load pnetcdf
if dav 
setenv LIB_Z_PATH /glade/u/apps/dav/os/usr/lib64
setenv LIB_PNG_PATH /glade/u/apps/dav/os/usr/lib64
setenv LIB_JASPER_PATH /glade/u/apps/dav/os/usr/lib64
module load pnetcdf

I compiled standalone_gfdl-vortextracker_v3.9a relatively easily on cheyenne with intel compiler. 

But the dav cluster took some effort.  Unfortunately, the dav cluster does not allow one of the  prerequisite modules to be installed because netcdf and hdf5 cannot be loaded simultaneously.

You will get errors with -ldl not found  or -ljpeg not found

/glade/u/apps/dav/os/usr/lib64/libdl.a(dlsym.o): In function `dlsym':
(.text+0x5): undefined reference to `__dlsym'

But I got it to compile with either hdf5 or netcdf missing IF I added the jpeg library to the compile command before the z, png, and jasper libraries. 

I found the easiest way to do this was to edit arch/preamble and  set
GRIB2_LIBS      =   -L/usr/lib64 -ljpeg CONFIGURE_TRACKER_LIBS
Perhaps this is the wrong way; but it worked. 
TODO: avoid editing arch/preamble and just add to configure command: # does not work ./configure GRIB2_LIBS='-L/usr/lib64 -ljpeg'


And configure option 2 (intel serial)
To fix it, cd trk_src/gettrk. Rerun the ifort command with "-L/usr/lib64 -ljpeg" before -L/glade/u/apps/dav/os/usr/lib64 -lz -lpng -ljasper stuff.
Same with vint, and tave.

tested 2 executables on cheyenne
-rwxrwxr-x 1 ahijevyc ncar 8194080 Jan 11 15:09 /glade/work/ahijevyc/standalone_gfdl-vortextracker_v3.9a/trk_exec/gettrk.exe
-rwxrwxr-x 1 ahijevyc ncar 3152584 Jan 11 14:28 /glade/u/home/ahijevyc/bin_cheyenne/gettrk.exe

thought the bigger one might be faster. (configure option 2.  Linux x86_64, Intel compiler	 (serial))
It was but not by much.
bigger             vs smaller 
2682.412u 366.600s vs 2697.396u 407.908s <- output from "time" command run with GFS 2018103100 tcgen

Man! Super-debug executable is 11MB? 

Tried SGI MPT also. Seems to be going slower than serial.It was the same. 

standalone_gfdl-vortextracker's People

Contributors

ahijevyc avatar

Stargazers

GitCloner avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.