This file contains hidden or 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
! testing in the ipython notebook with the fortran code in one cell: | |
! %%file test.f90 | |
! and with the build call in the following cell: | |
! `!gfortran -shared test.f90 -o test.dll` | |
! note: some useful stuff found here: https://stackoverflow.com/a/13880611/5545005 | |
module c_interop | |
use iso_c_binding | |
implicit none | |
integer, parameter :: STRLEN = 64 | |
contains |
This file contains hidden or 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
:: | |
:: Quick function to add jupyter and anaconda keys to the currently activate environment | |
:: Author: Ryan Martin | |
:: Date: April 30, 2019 | |
:: VERSION 1.000 | |
:: - initial release | |
:: VERSION 2.000 | |
:: - added ability to have multiple environments defined in right click keys | |
:: |