compiling LBLRTM in Ubuntu
Closed this issue · 0 comments
kcadyper commented
Meg Noah provided the following instructions for compiling LBLRTM on Ubuntu
sudo apt-get update
sudo apt-get upgrade
#install fortran
sudo atp-get install gfortran
#install cmake
sudo apt install -y cmake
#install git
sudo apt install git
#install geany
sudo apt-get install geany
#get LBLRTM
git clone --recursive https://github.com/AER-RC/LBLRTM.git
#modify make_lblrtm,
#add util_gfortran.f90 to SRCS=
#comment out netcdf references and remove mt_ckd_h2o_module
#remove read_module
#add compile of lblparams
$(OBJPATH)/lblparams.o: $(SRCPATH)/lblparams.f90
$(FC) -c $(FCFLAG) -I$(SRCPATH) -I$(INC_NETCDF) $< -o $@
lblparams.mod: $(SRCPATH)/lblparams.f90
$(FC) -c $(FCFLAG) -I$(INC_NETCDF) $< -o $(OBJPATH)/lblparams.o