HOW TO COMPILE



October 2016

The INTEL Fortran compiler is no more free. 
For this reason we are recompiling all the codes with the linux gfortran compiler.

ATLAS9mem and ATLAS9v for gfortran 

 
 atlas9mem.for   is atlas9mem.for gfortran 
  compile:     gfortran -fno-automatic -w -O3 -o atlas9mem.exe atlas9mem.for
 atlas9v.for   is atlas9v.for gfortran             
  compile:     gfortran -fno-automatic -w -O3 -o atlas9v.exe atlas9v.for


SYNTHE for gfortran 

 xnfpelsyn.for   is xnfpelsyn.for gfortran 
 atlas7v.for   is atlas7v.for gfortran 
compile: gfortran -fno-automatic -w -O3 -c xnfpelsyn.for
         gfortran -fno-automatic -w -O3 -c atlas7v.for
         gfortran xnfpelsyn.o atlas7v.o -o xnfpelsyn.exe

 synbeg.for   is synbeg.for gfortran 
compile: gfortran -fno-automatic -w -O3 -o synbeg.exe synbeg.for

 rgfalllinesnew.for   is rgfalllinesnew.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rgfalllinesnew.exe rgfallinesnew.for

 rpredict.for   is rpredict.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rpredict.exe rpredict.for


 rmolecasc.for   is rmolecasc.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rmolecasc.exe rmolecasc.for

 rschwenk.for   is rschwenk.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rschwenk.exe rschwenk.for

 rh2ofast.for   is rh2ofast.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rh2ofast.exe rh2ofast.for


synthe.for   is synthe.for for gfortran 
compile: gfortran -fno-automatic -w -O3 -o synthe.exe synthe.for


 spectrv.for   is spectrv.for gfortran 
 atlas7v.for   is atlas7v.for gfortran 
compile: gfortran -fno-automatic -w -O3 -c spectrv.for
         gfortran -fno-automatic -w -O3 -c atlas7v.for
         gfortran spectrv.o atlas7v.o -o spectrv.exe

 rotate.for   is rotate.for gfortran 
compile: gfortran -fno-automatic -w -O3 -o rotate.exe rotate.for

 broaden.for   is broaden.for gfortran 
compile: gfortran -fno-automatic -w -O3 -o broaden.exe broaden.for

 converfsynnmtoa.for   is converfsynnmtoa.for gfortran 
compile: gfortran -fno-automatic -w -O3 -o converfsynnmto.exe converfsynnmtoa.for


-------------------------------------------------------------------------------


Source codes that can be compiled with the INTEL Fortran for Linux.
This compiler needs a licence from the INTEL organization. 
The licence is free from charge only for students.


ATLAS9 and ATLAS12 for INTEL fortran 

 atlas9mem.for  
compile: ifort -double-size 64 -save -o atlas9mem.exe atlas9mem.for

 atlas9v.for  
compile: ifort -double-size 64 -save -o atlas9v.exe atlas9v.for

 atlas12.for  
compile: ifort -double-size 64 -save -o atlas12.exe atlas12.for

THE SYNTHE PACKAGE for INTEL fortran 

 xnfpelsyn.for  
 atlas7v.for  
compile:
ifort -double-size 64 -save -c xnfpelsyn.for
ifort -double-size 64 -save -c atlas7v.for
ifort -double-sixe 64 -save -o xnfpelsyn.exe xnfpelsyn.o atlas7v.o

 rgfall.for  
compile: ifort -double-size 64 -save -o rgfall.exe rgfall.for

 rmolecasc.for  
compile: ifort -double-size 64 -save -o rmolecasc.exe rmolecasc.for

 synthe.for  
compile: ifort -double-size 64 -save -o synthe.exe synthe.for

 spectrv.for  
compile:
ifort -double-size 64 -save -c spectrv.for
ifort -double-size 64 -save -o spectrv.exe spectrv.o atlas7v.o

 rotate.for  
compile: ifort -double-size 64 -save -o rotate.exe rotate.for

 broaden.for  
compile: ifort -double-size 64 -save -o broaden.exe broaden.for

 conversynnmtoa.for  
compile: ifort -double-size 64 -save -o conversynnmtoa.exe conversynnmtoa.for


THE SYNTHE PLOTTING CODES compilation 

ifort -c plotpackimcol.for
ifort -c plotsynimcol.for
ifort -c plotobsimcol.for
ifort -o plotsynimcol.exe plotsynimcol.o plotpackimcol.o
ifort -o plotobsimcol.exe plotobsimcol.o plotpackimcol.o
ifort -o mergeplotcol.exe mergeplotcol.for
ifort -o psplotcol.exe psplotcol.for