mirror of
https://github.com/RustyRaptor/ProgrammingLanguages.git
synced 2026-12-03 21:55:15 -07:00
723 B
723 B
Usage
Testing the fortran code
- Clean, build, and run
- (needs a file matrix.txt containing 12 reals separated by spaces)
make test
- build
make
- Clean binaries
make clean
Executing The python notebook
- Install requirements
- It's recommended to use a virtualenv
pip install -r requirements.txt- Now you can open the notebook in software that supports it.
- You can run jupyter like this
jupyter notebook- alternatively you can use the full lab
jupyter-lab
- now select
compiled_vs_interpreted.ipynbin the browser - Just click "run all" its usually a double play sign.
- The notebook also builds and executes the fortran code