-
Notifications
You must be signed in to change notification settings - Fork 6
Download Requirements
In this section you will find the list of softwares and libraries that are required to use the full capabilities of the Osmose model.
Since the Osmose numerical core is coded in Java, let us clarify some of the acronyms related to the Java technologies.
-
JVM: Java Virtual Machine. This is a set of software programs that interprets the Java byte code. -
JRE: Java Runtime Environment. This is a kit distributed by Sun for running Java programs. AJREprovides aJVMand some basic Java libraries. A JRE is required to run Osmose. -
JDKorSDK: Java (or Software) Development Kit used by the programmer. It provides aJRE, a compiler, useful programs, examples and the source of the API (Application Programming Interface: some standard libraries). A JDK is required if the precompiled Java binaries are not used
We strongly recommend the OpenJDK suite, available from https://jdk.java.net/ :
- Download the archive file (
.tar.gzfor.zipextension). - Extract the files to a dedicated folder.
- Set the
JAVA_HOMEenvironment variable to the location of the Java folder.
Tip
To find out how to set environment variables in Windows, click here. For Linux/Mac Os users, click here
Warning
The OpenJDK version must be at least 8
As Osmose makes extensive use of NetCDF files, the NetCDF4 library must be installed.
To install the library on a Mac OS system, open a terminal and type:
sudo port install netcdf4To install the library on a Linux system, open a terminal and type:
sudo apt install netcdf4Download and install the NetCDF library from the Unidata website. Select the netCDFX.Y.Z-NC4-DAP-64.exe install.
Warning
Ensure that the NetCDF binaries are added to the PATH environment variable.
The Osmose Java core is embedded in an Osmose R package, which allows pre-processing, calibration, execution and post-processing of Osmose configurations. It is strongly recommended to install R to take advantage of the features provided by the R package.
Download instructions for R are available for Windows, Linux and Mac Os X.
It is also recommended that you install the RStudio GUI (https://rstudio.com/).
Note
If you do not intend to use the R package, you can skip this part.
To install the Osmose package, R libraries are required (see the DESCRIPTION file). These libraries can be installed by typing from an R console:
install.packages(c("calibrar", "knitr", "ncdf4", "rlist",
"rmarkdown", "stringr", "fields",
"R.utils"))