1 2 3 4 5 6 7 | /home/loadl/project/bin --> The folder where the compiled binaries are installed. /home/loadl/project/include --> The folder where the header files are installed. /home/loadl/project/lib --> The folder where the libraries are installed. /home/loadl/project/share --> The folder where the manual, document are installed. /home/loadl/project/source --> The folder where the source code packages are saved. /home/loadl/project/netcdf --> The folder where the compiled netcdf are installed. It has sub folders such as bin,include,lib,share. |
1 2 3 4 5 6 7 8 9 | yum install libstdc++*.ppc yum install gcc yum install gcc-c++ yum install glibc-devel*.ppc64 yum install glibc-devel*.ppc yum install libstdc++-devel*.ppc64 yum install compat-libstdc++-33*.ppc yum install compat-libstdc++-33*.ppc64 yum install ksh |
1 | sysctl -w net.core.wmem_max=1048576 |
1 | sysctl -w net.core.rmem_max=8388608 |
1 | sysctl -w net.ipv4.ipfrag_low_thresh=1048576 |
1 | sysctl -w net.ipv4.ipfrag_high_thresh=8388608 |
1 | Update nofile to be 4096 in /etc/security/limits.conf |
1 | Update memlock to be unlimited in /etc/security/limits.conf |
1 | Change per_source to 80 in /etc/xinetd.conf |
1 2 3 | rpm -i pperte-1.3.0.8-s008a.ppc64.rpm rpm -i ppe_rte_samples-1.3.0.8-s008a.ppc64.rpm rpm -i ppertesamples-1.3.0.8-s008a.ppc64.rpm |
1 2 3 4 5 6 7 8 9 10 | export CC="xlc_r" export CFLAGS="-q64 -O3 -qstrict -DIBMR2Fortran" export CPP="xlc_r -E" export CXX="xlC_r" export CXXFLAGS="-q64 -O3 -qstrict" export CXXCPP="xlC_r -E" export F77="xlf_r" export FC="xlf_r" export F90="xlf90_r" export FFLAGS="-q64 -O3 -qstrict" |
1 2 3 | ./configure --prefix=/home/loadl/project/netcdf make make install |
1 2 3 | ./configure --prefix=/home/loadl/project make make install |
1 2 3 | ./configure --prefix=/home/loadl/project make make install |
1 2 3 4 5 6 | export LD_LIBRARY_PATH=/home/loadl/project/lib/ LD_LIBRARY_PATH export LDFLAGS="-L/home/loadl/project/lib/ -L/home/loadl/project/netcdf/lib" export CPPFLAGS="-I/home/loadl/project/include/ -I/home/loadl/project/netcdf/include" ./configure --prefix=/home/loadl/project make make install |
1 2 3 4 | export JASPERLIB=/home/loadl/project/lib export JASPERINC=/home/loadl/project/include export WRF_EM_CORE=1 export NETCDF=/home/loadl/project/netcdf |
1 2 3 4 5 | Compile for nesting? 1=basic 2=preset moves 3=vortex following [default 1] |
1 2 3 4 5 6 7 8 9 10 11 | SFC = xlf95_r -q64 -I/opt/ibmhpc/pecurrent/mpich2/gnu/include64 -L/opt/ibmhpc/pecurrent/ mpich2/gnu/fast/lib64 SCC = xlc_r -q64 -I/opt/ibmhpc/pecurrent/mpich2/gnu/include64 -L/opt/ibmhpc/pecurrent/ mpich2/gnu/fast/lib64 CCOMP = xlc_r -q64 -I/opt/ibmhpc/pecurrent/mpich2/gnu/include64 -L/opt/ibmhpc/pecurrent/ mpich2/gnu/fast/lib64 DM_FC = xlf95_r -q64 -I/opt/ibmhpc/pecurrent/mpich2/gnu/include64 -L/opt/ibmhpc/pecurrent/ mpich2/gnu/fast/lib64 -lmpi DM_CC = xlc_r -q64 -I/opt/ibmhpc/pecurrent/mpich2/gnu/include64 -L/opt/ibmhpc/pecurrent/ mpich2/gnu/fast/lib64 -DMPI2_SUPPORT –lmpi CPP = /opt/ibm/xlf/15.1.0/exe/cpp -C -P |
1 2 3 4 5 6 | -bash-4.1$ ll run/*.exe lrwxrwxrwx 1 loadl loadl 17 Aug 22 07:55 run/ndown.exe -> ../main/ndown.exe lrwxrwxrwx 1 loadl loadl 15 Aug 22 07:55 run/nup.exe -> ../main/nup.exe lrwxrwxrwx 1 loadl loadl 16 Aug 22 07:55 run/real.exe -> ../main/real.exe lrwxrwxrwx 1 loadl loadl 14 Aug 22 07:55 run/tc.exe -> ../main/tc.exe lrwxrwxrwx 1 loadl loadl 15 Aug 22 07:53 run/wrf.e |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |