Changeset 1613 for palm/trunk/LIB/rrtmg
- Timestamp:
- Jul 8, 2015 2:53:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/LIB/rrtmg/install_rrtmg
r1586 r1613 22 22 # Current revisions: 23 23 # ------------------ 24 # 24 # Bugfix: compilation of shared library fails due to misplaced rm command 25 25 # 26 26 # Former revisions: … … 46 46 # compiler_name="ftn" 47 47 # fopts="-em -s real64 -O3 -hnoomp -hfp3 -hdynamic" 48 # fopts_trace="-eD -em -g -R b -K trap=fp -O0 -hnoomp" 48 49 # 49 50 # 50 51 51 compiler_name=" mpif90"52 fopts="- fltconsistency -O3 -cpp -r8 -nbs -convert little_endian -I /muksoft/packages/netcdf/4_intel/include"53 fopts_trace="- fpe0 -C -check nooutput_conversion -debug -traceback -g -w -xT -O0 -ftz -fno-alias -no-prec-div -no-prec-sqrt -ip -nbs -convert little_endian -diag-disable 8290,8291 -I /muksoft/packages/netcdf/4_intel/include"54 install_path="$HOME/ palm/rrtmg"55 compile_static= true52 compiler_name="ftn" 53 fopts="-em -s real64 -O3 -hnoomp -hfp3 -hdynamic" 54 fopts_trace="-eD -em -g -R b -K trap=fp -O0 -hnoomp -fpic" 55 install_path="$HOME/rrtmg" 56 compile_static=false 56 57 compile_shared=true 57 58 compile_static_debug=false 58 compile_shared_debug= false59 compile_shared_debug=true 59 60 60 61 while getopts p: option … … 144 145 mkdir -p $install_path/shared/lib 145 146 mkdir -p $install_path/shared/include 146 cp shared/lib/$prog.so.$version $install_path/shared/lib 147 cp shared/lib/$prog.so.$version $install_path/shared/lib/ 147 148 cp shared/include/*.mod $install_path/shared/include/ 148 rm $install_path/shared/lib/$prog.so.$version $install_path/shared/lib/$prog.so.1 149 if [ -f $install_path/shared/lib/$prog.so.1 ] 150 then 151 rm $install_path/shared/lib/$prog.so.1 152 fi 149 153 ln -s $install_path/shared/lib/$prog.so.$version $install_path/shared/lib/$prog.so.1 154 if [ -f $install_path/shared/lib/$prog.so ] 155 then 156 rm $install_path/shared/lib/$prog.so 157 fi 150 158 ln -s $install_path/shared/lib/$prog.so.1 $install_path/shared/lib/$prog.so 151 159 rm -rf shared … … 167 175 cp shared_trace/lib/$prog.so.$version $install_path/shared_trace/lib 168 176 cp shared_trace/include/*.mod $install_path/shared_trace/include/ 169 rm $install_path/shared_trace/lib/$prog.so.$version $install_path/shared_trace/lib/$prog.so.1 177 if [ -f $install_path/shared_trace/lib/$prog.so.1 ] 178 then 179 rm $install_path/shared_trace/lib/$prog.so.1 180 fi 170 181 ln -s $install_path/shared_trace/lib/$prog.so.$version $install_path/shared_trace/lib/$prog.so.1 182 if [ -f $install_path/shared_trace/lib/$prog.so ] 183 then 184 rm $install_path/shared_trace/lib/$prog.so 185 fi 171 186 ln -s $install_path/shared_trace/lib/$prog.so.1 $install_path/shared_trace/lib/$prog.so 172 187 rm -rf shared_trace
Note: See TracChangeset
for help on using the changeset viewer.