Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiling LBLRTM in Ubuntu #34

Closed
kcadyper opened this issue Dec 7, 2022 · 0 comments
Closed

compiling LBLRTM in Ubuntu #34

kcadyper opened this issue Dec 7, 2022 · 0 comments

Comments

@kcadyper
Copy link
Collaborator

kcadyper commented Dec 7, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants