Thank you for your interest in contributing to Stock Synthesis! We strive to follow the NMFS Fisheries Toolbox Contribution Guide. Note that these are guidelines, not rules, and we are open to collaborations in other ways that may work better for you. Please feel free to reach out to us by opening an issue in this repository or by emailing the developers at [email protected].
This project and everyone participating in it is governed by the NMFS Fisheries Toolbox Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected]. Note that the maintainers of SS do not have access to this email account, so unacceptable behavior of the maintainers can also be reported here.
We welcome all contributions! For example, report bugs or request features through an issue, suggest code changes through a pull request, or suggest changes to the Stock Synthesis manual.
All code contributions should be submitted as pull requests to be reviewed by an SS3 team member.
- Fork the stock synthesis repository (or, if you are a member of the ss3-team, clone the repository).
- Create a new branch, make the changes, and test out by building stock synthesis locally.
- Commit the changes and push up to the github fork.
- Submit a pull request to the main branch of Stock Synthesis Repository.
- An SS3 team member will work with you to accept or make corrections to the pull request.
- Have a local version of the stock synthesis repository (though forking or cloning).
- Download ADMB. The current version of ADMB used to compile Stock Synthesis is listed in SS_versioninfo_330safe.tpl.
- Add ADMB to the PATH or use the ADMB command window for the following commands.
- On Linux or Mac:
- Change directory to the cloned Stock Synthesis repository and use the script Make_SS_330_new.sh by calling
./Make_SS_330_new.sh
. To see all options for the function, use./Make_SS_330_new.sh --help
. - Follow the instructions found in the GNUmakefile which will allow you to compile Stock Synthesis using the command
~/ss3-source-code$ make
within a command line opened in the cloned Stock Synthesis repository folder.
- Change directory to the cloned Stock Synthesis repository and use the script Make_SS_330_new.sh by calling
- On Windows: Change directory to the cloned Stock Synthesis repository's Compile subfolder and call the Make_SS_safe batch script to build the "safe" version of Stock Synthesis. (to build the fast (aka optimized) version of Stock Synthesis, call the Make_SS_fast.bat batch scripts instead). Upon calling the batch script, SS3 will be built in the Compile subfolder.
Please email [email protected] for assistance.