Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
flexpart
flexpart
Commits
6616daf0
Commit
6616daf0
authored
Oct 22, 2018
by
Ignacio Pisso
Browse files
changes to README and create_tarball.sh
parent
44322ef0
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6616daf0
# README #
### What is this repository for? ###
*
This repository contains the development version of the Lagrangian model FLEXPART
### How do I get set up? ###
# README #
### What is this repository for? ###
*
This repository contains the development version of the Lagrangian model FLEXPART
### How do I get set up? ###
*
Configuration
Edit the makefile with the paths to libraries and include files
Edit the makefile with the paths to libraries and include files
*
Dependencies
...
...
@@ -20,21 +20,28 @@
```
> cd src
change the appropriate paths to libraries in the makefile
> make
```
*
Deployment instructions
FLEXPART is a standalone executable
### Contribution guidelines ###
*
The version contributed should compile on a reference version of the system and compiler. The current reference is gfortran 5.4 on Ubuntu 16.04
*
Code contribution including new features and bug fixes should be complemented with appropriate tests
An essential test consists of a set of input files and directories that allow FLEXPART to run.
*
Deployment instructions
FLEXPART is a standalone executable
The necessary ECMWF wind fields can be obtained testing flex_ecmwf
The AVAILABLE file works with the default ERA 5 retrieved winds
In the winds are available in flex_ecmwf/work it should suffice to execute
./src/FLEXPART in the main directory
### Contribution guidelines ###
*
The version contributed should compile on a reference version of the system and compiler. The current reference is gfortran 5.4 on Ubuntu 16.04
*
Code contribution including new features and bug fixes should be complemented with appropriate tests
An essential test consists of a set of input files and directories that allow FLEXPART to run.
A test can be accompanied by output files for verification
*
Code review
[
comment
]:
#
"### Who do I talk to? ###"
ignacio.pisso@nilu.no
*
Code review
[
comment
]:
#
"### Who do I talk to? ###"
ignacio.pisso@nilu.no
create_tarball.sh
View file @
6616daf0
#!/bin/bash
version
=
10.2
tarball_tmp
=
flexpart
$version
#define version number
version
=
10.3beta
# define tarball name
tarball_tmp
=
flexpart_v
$version
# clean old package
rm
-r
$tarball_tmp
# create basic dir structure
mkdir
$tarball_tmp
mkdir
$tarball_tmp
/src
# copy fortran source files
cp
src/
*
.f90
$tarball_tmp
/src
cp
-r
src/gributils
$tarball_tmp
/src
# copy makefile
cp
src/makefile
$tarball_tmp
/src
cp
src/makefile.gfs
$tarball_tmp
/src
cp
-r
options
$tarball_tmp
#cp src/makefile.gfs $tarball_tmp/src
# copy default options (for the distribution they work with the defult flex_ecmwf test winds)
# cp -r options $tarball_tmp
cp
-r
options_flex_ecmwf_EA
$tarball_tmp
/options
# copy default pathnames
cp
pathnames_distribution
$tarball_tmp
/pathnames
# add ECMWF retrieve routines
mkdir
$tarball_tmp
/preprocess
#mkdir $tarball_tmp/preprocess/flex_ecmwf
mkdir
$tarball_tmp
/preprocess/flex_extract
#cp -r flex_ecmwf_src/* $tarball_tmp/preprocess/flex_ecmwf/
cp
-r
flex_ecmwf_src/
*
$tarball_tmp
/preprocess/flex_extract/
# copy default AVAILABLE
cp
AVAILABLE_flex_ecmwf_EA
$tarball_tmp
/AVAILABLE
# directory for reading routines
mkdir
$tarball_tmp
/postprocess
# add fortran reading routines
mkdir
$tarball_tmp
/postprocess/flex_read_fortran
cp
postprocess/flex_read_fortran/
*
.f
$tarball_tmp
/postprocess/flex_read_fortran
cp
postprocess/flex_read_fortran/
*
.f90
$tarball_tmp
/postprocess/flex_read_fortran
cp
postprocess/flex_read_fortran/makefile
$tarball_tmp
/postprocess/flex_read_fortran
# add matlab reading routines
mkdir
$tarball_tmp
/postprocess/flex_read_matlab
cp
postprocess/flex_read_matlab/
*
.m
$tarball_tmp
/postprocess/flex_read_matlab
# examples
cp
-r
examples
$tarball_tmp
/
mkdir
$tarball_tmp
/tests
cp
-r
tests/NILU/test_1
$tarball_tmp
/tests/
cp
-r
tests/flex_gen_cases
$tarball_tmp
/tests/
#return
tar
-cvf
flexpart
$version
.tar
$tarball_tmp
/
*
#return
#tar -cvf flexpart$version.tar $tarball_tmp/*
echo
now can run:
"tar -cvf
$tarball_tmp
.tar
$tarball_tmp
/*"
echo
preliminary: scp flexpart_v10.3beta.tar njord:public_html/FLEXPART
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment