-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Doc updates. Vscode config. Readme updates
- Loading branch information
Showing
9 changed files
with
68 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ socstar.dat | |
|
||
# Misc files | ||
.DS_Store | ||
.vscode | ||
__pycache__ | ||
debug/ | ||
nogit_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"julia.environmentPath": "${workspaceFolder}/", | ||
"editor.tabSize": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Manual | ||
|
||
This page documents functions and data structures within the code. | ||
|
||
## Index | ||
```@index | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Getting started | ||
This page outlines requirements and installation steps for the code. | ||
|
||
## Requirements | ||
* Julia (NB: install only from julialang.org - do not use your system package manager) | ||
* gfortran (NB: do not use ifort or aocc) | ||
* netcdf-fortran | ||
* make | ||
* OpenMP | ||
|
||
## Supported platforms | ||
* MacOS (ARM and x86-64) | ||
* GNU/Linux (x86-64) | ||
|
||
## Installation | ||
- `$ export LD_LIBRARY_PATH=""` | ||
- `$ cd socrates` | ||
- `$ ./configure` | ||
- `$ ./build_code` | ||
- `$ source set_rad_env` | ||
- `$ julia` | ||
- `julia> ]` | ||
- `(@v1.10) pkg> activate ../` | ||
- `(AGNI) pkg> instantiate` | ||
- Press backspace | ||
- `julia> cd("julia/src")` | ||
- `julia> include("generate_wrappers.jl")` | ||
- `julia> exit()` | ||
- `$ cd julia/lib` | ||
- `$ make` | ||
- `$ cd ../../..` | ||
You will end up in the root directory of the repository. | ||
You should run the tests next. | ||
|
||
## Testing | ||
- `$ julia` | ||
- `julia> ]` | ||
- `(@v1.10) pkg> activate .` | ||
- `(AGNI) pkg> test` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters