[gradsusr] reg: how to set environmenatl variables before compilation of wrf

Malleswararao Maguluri mallesh4science at gmail.com
Thu May 16 03:11:52 EDT 2013


hi,

ifort path was in /opt/intel/bin
icc path was in /opt/intel/composer_xe_2011_sp1/bin
 for this i have done like this (linked icc to /opt/intel/bin)

[root at localhost intel]# cd composer_xe_2011_sp1
[root at localhost composer_xe_2011_sp1]# cd bin
[root at localhost bin]# ls
codecov           icc   idbc           inspxe-wrap      profdcg
sourcechecker  xild
compilervars.csh  icpc  inspxe-inject  link_install.sh  profmerge  tselect
compilervars.sh   idb   inspxe-runsc   map_opts         proforder  xiar
[root at localhost bin]# ln -s icc /opt/intel/bin/
[root at localhost bin]# cd /opt/intel/bin/
[root at localhost bin]# ls
codecov           fpp  idbc           ifortvars.sh   inspxe-wrap
profdcg    tselect
compilervars.csh  icc  ifort          inspxe-inject  link_install.sh
profmerge  xiar
compilervars.sh   idb  ifortvars.csh  inspxe-runsc   map_opts
proforder  xild
[root at localhost bin]# ll
total 32
lrwxrwxrwx. 1 root root    25 Jun 15 22:11 codecov ->
../composerxe/bin/codecov
lrwxrwxrwx. 1 root root    34 Jun 15 22:11 compilervars.csh ->
../composerxe/bin/compilervars.csh
lrwxrwxrwx. 1 root root    33 Jun 15 22:11 compilervars.sh ->
../composerxe/bin/compilervars.sh
lrwxrwxrwx. 1 root root    21 Jun 15 22:11 fpp -> ../composerxe/bin/fpp
lrwxrwxrwx. 1 root root     3 Jun 16 17:51 icc -> icc
lrwxrwxrwx. 1 root root    21 Jun 15 22:11 idb -> ../composerxe/bin/idb
lrwxrwxrwx. 1 root root    22 Jun 15 22:11 idbc -> ../composerxe/bin/idbc
lrwxrwxrwx. 1 root root    23 Jun 15 22:11 ifort -> ../composerxe/bin/ifort
lrwxrwxrwx. 1 root root    34 Jun 15 22:11 ifortvars.csh ->
../composerxe/bin/compilervars.csh
lrwxrwxrwx. 1 root root    33 Jun 15 22:11 ifortvars.sh ->
../composerxe/bin/compilervars.sh
lrwxrwxrwx. 1 root root    31 Jun 15 22:11 inspxe-inject ->
../composerxe/bin/inspxe-inject
lrwxrwxrwx. 1 root root    30 Jun 15 22:11 inspxe-runsc ->
../composerxe/bin/inspxe-runsc
lrwxrwxrwx. 1 root root    29 Jun 15 22:11 inspxe-wrap ->
../composerxe/bin/inspxe-wrap
-rwxr-xr-x. 1 root root 30528 Mar 15 20:55 link_install.sh
lrwxrwxrwx. 1 root root    26 Jun 15 22:11 map_opts ->
../composerxe/bin/map_opts
lrwxrwxrwx. 1 root root    25 Jun 15 22:11 profdcg ->
../composerxe/bin/profdcg
lrwxrwxrwx. 1 root root    27 Jun 15 22:11 profmerge ->
../composerxe/bin/profmerge
lrwxrwxrwx. 1 root root    27 Jun 15 22:11 proforder ->
../composerxe/bin/proforder
lrwxrwxrwx. 1 root root    25 Jun 15 22:11 tselect ->
../composerxe/bin/tselect
lrwxrwxrwx. 1 root root    22 Jun 15 22:11 xiar -> ../composerxe/bin/xiar
lrwxrwxrwx. 1 root root    22 Jun 15 22:11 xild -> ../composerxe/bin/xild

after this i have set environmental variables like this

export PATH=/opt/intel/bin:$PATH
export F77=ifort
export F90=ifort
export FC=icc

./configure works fine

./compile em_real showing some error, i have attached the log file also.
but i got all executables in run (nup.exe,ndown.exe,real.exe, wrf.exe &
tc.exe)

how can i resolve it, pls help me regrding this.


-- 
M. MALLESWARA RAO
M.Tech (Atmospheric Science)
Young Professional in Cyclone Models
APSDPS, AP Secreteriat, Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130516/483c02d4/attachment-0003.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compile.log
Type: text/x-log
Size: 248564 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20130516/483c02d4/attachment-0003.bin 


More information about the gradsusr mailing list