APSIMInitiative / APSIM710

APSIM
https://www.apsim.info
31 stars 48 forks source link

Build system needs some updating and maintenance #1663

Open ApsimBot opened 5 years ago

ApsimBot commented 5 years ago

Legacy Bug ID: 6220 Author: Eric Date: 2017-09-08 10:29:35 +0000 UTC

Some of the build configuration is getting a bit out of date. A few of the C# projects still target Frameworks version 4, while most target 4.5; this should be made consistent. Some of the C++ projects still reference the VS 2010 toolset, rather than VS2015 or VS2017. These should be updated and made consistent.

ApsimBot commented 5 years ago

Author: peter.devoil Date: 2017-12-05 10:43:00 +0000 UTC

r4112 adds scripts to run Apsim on the UQ cluster

 

UQ uses the PBSPro batch execution environment - which provides a job queue for your long running batch simulations. It has a larger number of users than we are used to, and execution time can vary widely depending on the number of researchers in the queue. Users need to get their own login from rcc. Access to the login nodes is via ssh or a web-based remote desktop. The login nodes are very slow (intentionally) - don't attempt to run apsim on them.

 

Rather than compiling apsim for the native OS (CentOS) of the cluster, we use http://singularity.lbl.gov/ to run apsim in a container architecture, avoiding the need to separately compile apsim and its support libraries. Running the container over NFS is more efficient than copying and unpacking the installation. Apsim execution times are the same whether compiled native or containered. Versioning is simple - one version per container.

 

Running jobs follows the old paradigm:

 

 

r4112 has scripts to a) build apsim in a docker environment, b) create singularity containers with a specific apsim version. There is a world readable image in /home/uqpdevo1/Apsim.latest.sapp maintaned by peter.devoil@uq.edu.au