RIP_46 설치 소개
슈퍼컴퓨팅인프라센터 2019. 1. 9. 10:53
가. 설치 환경
구분
내용
나. 설치 전 환경 설정
$ module load craype-x86-skylake intel/18.0.3 netcdf/4.6.1 ncl/6.5.0다. 설치 과정
Last updated
$ tar xvfz RIP_46.tar.gz
$ cd RIP_46
$ ./configure
- - - - - [configure 과정 진행 내용] 참고
$ vi configure.rip
- - - - - [configure.rip 파일 수정 수정 내용] 참고
$ ./compile$ ./configure
Will use NETCDF in dir: /apps/compiler/intel/18.0.3/applib1/x86-skylake/netcdf/4.6.1
------------------------------------------------------------------------
Please select from among the following supported platforms.
1. PC Linux i486 i586 i686 x86_64, PGI compiler
2. PC Linux i486 i586 i686 x86_64, g95 compiler
3. PC Linux i486 i586 i686 x86_64, gfortran compiler
4. PC Linux i486 i586 i686 x86_64, Intel compiler
Enter selection [1-4] : 4
------------------------------------------------------------------------
Configuration successful. To build the RIP4, type: compile
------------------------------------------------------------------------# configure.rip
#
# This file was automatically generated by the configure script in the
# top level directory. You may make changes to the settings in this
# file but be aware they will be overwritten each time you run configure.
# Ordinarily, it is necessary to run configure once, when the code is
# first installed.
#
# To permanently change options, change the settings for your platform
# in the file arch/configure.defaults, the preamble, and the postamble -
# then rerun configure.
#
.SUFFIXES: .F90 .f90 .F .f .c .o
SHELL = /bin/sh
# Listing of options that are usually independent of machine type.
# When necessary, these are over-ridden by each architecture.
ARFLAGS =
PERL = perl
RANLIB = echo
NETCDFLIB = -L${NETCDF}/lib -lnetcdff -lnetcdf
NETCDFINC = -I${NETCDF}/include
NCARGLIBS = -L${NCARG_ROOT}/lib -lncarg -lcgm -lncarg_gks -lncarg_c -lX11 -lm \
-L/apps/common/cairo/1.14.6/lib -lcairo \
-L/apps/common/freetype/2.9.1/lib -lfreetype
#### Architecture specific settings ####
# Settings for PC Linux i486 i586 i686 x86_64, Intel compiler
#
FC = ifort
FFLAGS = -I. -convert big_endian -fPIC -xCOMMON-AVX512 -O2
CCFLAGS = -I. -DLITTLE -DUNDERSCORE -fPIC -xCOMMON-AVX512 -O2 -c
LDFLAGS =
LOCAL_LIBS = -L/usr/lib64 -lX11
###########################################################
#
# Macros, these should be generic for all machines
LN = ln -sf
MAKE = make -i -r
RM = /bin/rm -f
CP = /bin/cp
AR = ar ru
.IGNORE:
.SUFFIXES: .c .f90 .F90 .f .F .o
# There is probably no reason to modify these rules
.c.o:
$(RM) $@
$(CC) $(CCFLAGS) $(CFLAGS) -c $<
.f.o:
$(FC) $(FFLAGS) -c $*.f
.f90.o:
$(RM) $@ $*.mod
$(CP) $< $*.f
$(FC) $(FFLAGS) -c $*.f
$(RM) $*.f
.F90.o:
$(RM) $@ $*.mod
$(CPP) $(CCFLAGS) $(FDEFS) $< > $*.f
$(FC) $(FFLAGS) -c $*.f ${NETCDF_INC}
$(RM) $*.f