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

 

 

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