mgaitan / fortran_magic

An extension for IPython/Jupyter that helps to use Fortran in your interactive session.
BSD 3-Clause "New" or "Revised" License
116 stars 32 forks source link

how to pass intel64 ifort compiler option from jupyter notebook? #17

Open den-run-ai opened 8 years ago

den-run-ai commented 8 years ago

%%fortran --fcompiler intelvem - this does not work.

Right now I have to first setup ifort in the shell and start jupyter notebook from the same shell:

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin>ifortvars.bat intel64 vs2015

Intel(R) MPI Library 5.1 Update 3 for Windows* Target Build Environment for Intel(R) 64 applications
Copyright (C) 2007-2015 Intel Corporation. All rights reserved.

Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
Intel(R) Compiler 16.0 Update 2 (package 180)

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\bin>cd c:\Users

c:\Users>jupyter notebook