Building NCEPlibs on Stampede2

The last two lines of the script (https://github.com/NOAA-EMC/NCEPLIBS-external/blob/ufs-v1.1.0/doc/README_stampede_intel.txt) I got this:

login3.stampede2(75)$ make VERBOSE=1 -j8 2>&1 | tee log.make
make: *** No targets specified and no makefile found.  Stop.
login3.stampede2(76)$ make install 2>&1 | tee log.install
make: *** No rule to make target `install'.  Stop.

I believe it failed to correctly install the NCEP libraries. I also see something that says "configuring incomplete, errors occurred" a few lines up.

Any solutions for the issue?

Could you give me the access permission?

login1.stampede2(1001)$ cd /home1/07859/tg871583/my_ufs_sandbox

-bash: cd: /home1/07859/tg871583/my_ufs_sandbox: Permission denied

login1.stampede2(1002)$ cd /home1/07859/tg871583/

-bash: cd: /home1/07859/tg871583/: Permission denied

Thanks,

Linlin

 

chmod go+xr /home1/07859/tg871583/

chmod go+xr /home1/07859/tg871583/my_ufs_sandbox

Thanks,

Linlin

 

Done

 

I can enter the directory: /home1/07859/tg871583/my_ufs_sandbox, thanks!

Could you tell me the location for the NCEPlib codes? Under src? 

I also need the access permission for that directory.

Thanks,

Linlin

I got the error just running the aforementioned script in the directory: /home1/07859/tg871583/my_ufs_sandbox

I gave permission for src, cime, and docs.

You need to set the environment, get the NCEPLIBs code, and compiled the code following the instruction

https://github.com/NOAA-EMC/NCEPLIBS-external/blob/develop/doc/README_stampede_intel.txt

For example:

0)

module purge

module load libfabric/1.7.0

module load git/2.24.1

module load autotools/1.1

module load xalt/2.8

module load TACC

module load python3/3.7.0

module load intel/18.0.2

module load cmake/3.16.1

module load impi/18.0.2

module li

export CC=icc

export CXX=icpc

export FC=ifort

 

1)

mkdir  /home1/07859/tg871583/NCEPLIBS-develop

export INSTALL_PREFIX=/home1/07859/tg871583/NCEPLIBS-develop/

mkdir $INSTLL_PREFIX/src

cd  ${INSTALL_PREFIX}/src

2)

git clone -b develop --recursive https://github.com/NOAA-EMC/NCEPLIBS-external

cd NCEPLIBS-external

mkdir build && cd build

cmake -DBUILD_MPI=OFF -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} .. 2>&1 | tee log.cmake

make VERBOSE=1 -j8 2>&1 | tee log.make

export NETCDF=${INSTALL_PREFIX}

export ESMFMKFILE=${INSTALL_PREFIX}/lib64/esmf.mk

export WGRIB2_ROOT=${INSTALL_PREFIX}

cd ${INSTALL_PREFIX}/src

git clone -b develop --recursive https://github.com/NOAA-EMC/NCEPLIBS

cd NCEPLIBS

mkdir build && cd build

cmake -DDEPLOY=ON -DCMAKE_INSTALL_PREFIX=${INSTALL_PREFIX} .. 2>&1 | tee log.cmake

make VERBOSE=1 -j8 2>&1 | tee log.make

make deploy 2>&1 | tee log.deploy

 

Thanks,

Linlin

Could you tell me the locations of the NCEP libraries? I cannot find them at:

/home1/07859/tg871583/my_ufs_sandbox

or

/home1/07859/tg871583/

I can schedule a google meeting or zoom meeting with you to walk through all the steps if it is needed.

Thanks,

Linlin

Permalink

In reply to by Linlin.Pan

Hi Linlin,

 

NCEP Libs is in: /work/07859/tg871583/stampede2 (upon logging on to Stampede, I enter "cd $WORK" into the command line.)

 

After cloning and deleting NCEP libraries a few times, it would be extremely helpful to run while someone watches the output. I can be available anytime this week. My email is donald.long@noaa.gov.

 

Best,

Donald

Hi, Donald,

That's great! I'll check the directory.

BTW, I scheduled a google meeting with you tomorrow at 10:00am (MST). Please let me know if it is not a good time for you!

meet.google.com/fht-yrur-fgf

Thanks,

Linlin