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

Docker container for cgenie? #22

Open
psychemedia opened this issue Sep 19, 2018 · 2 comments
Open

Docker container for cgenie? #22

psychemedia opened this issue Sep 19, 2018 · 2 comments

Comments

@psychemedia
Copy link

psychemedia commented Sep 19, 2018

Hi

Is there a Linux virtual machine or Docker containerised version of cgenie available, or a set of build instructions for it?

I'm trying to evaluate how Docker containers might be used to support various applications in a distance education setting and a colleague tipped me off to this application as one that would be handy to try out for a course they're involved with...

@derpycode
Copy link
Owner

No ... the model has a little history ... and has been developed over the bets part of 15 years by climate scientists should really should not have been left in front of a keyboard ... me including ... at least with respect to good practice software design and engineering. (That is not to say the model is not good science -- lots of care have been taken in terms of credible and reliable science.)

So no -- no containers or anything particualrly helpful. As the code is a mix of FORTRAN 90 and 77, C, Python, and BASH scripting, this makes for something of a nightmare in terms of automated cross-platform install.

There is a user manual:

https://github.com/derpycode/muffindoc

and in which in some matieral near the start, and also some of the HOW-TO sections near the end, as somewhat detailed and step-by-step instructions for Ubuntu (Section 17.4) and MacOS (17.6).

A few years back, I did commission a re-write as a proof-of-concept for a cross-platform version:

https://github.com/genie-model

but which has languished as I contined instead with the science development of the cgenie.muffin version ...

This willl ... or did as of a couple of years ago, compile across platforms, although requiring a FORTRAN compiler and netCDF libraries etc for each platform.

I would love to move the model on, one day, to some that could be e.g. pre-compiled and easily installed cross platform. And ideally with a GUI ... :o)

/andy

$ ---
Dr. Andy Ridgwell
$ ---
<START MAIN
Professor of Earth System Science
Department of Earth Sciences
University of California, Riverside
900 University Ave.
Riverside, CA 92521
/END MAIN>
<START ALT
Professorial Research Fellow
School of Geographical Sciences
University of Bristol
Bristol BS8 1SS
United Kingdom
/END ALT>
$ ---
andy@seao2.org
http://andy.seao2.org
https://github.com/derpycode
@derp_code
$ ---

@psychemedia
Copy link
Author

Hi Andy

Thanks for the info. I'll take a look at the Ubuntu route and see if I can get it working in a simple VM. I'll be sure to share anything I manage to get working in terms of eg Vagrantfile back to you...

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