forked from 3rdparty/wrf-python
9 changed files with 83 additions and 39 deletions
@ -1,13 +1,13 @@ |
|||||||
cd ../fortran |
cd ../fortran |
||||||
gfortran -E ompgen.F90 -cpp -o omp.f90 |
CALL gfortran -E ompgen.F90 -cpp -o omp.f90 |
||||||
REM Wildcards not working on Windows for some reason |
REM Wildcards not working on Windows for some reason |
||||||
f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
CALL f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
||||||
cd .. |
cd .. |
||||||
python setup.py clean --all |
CALL python setup.py clean --all |
||||||
|
|
||||||
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2" build --compiler=mingw32 --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2" build --compiler=mingw32 --fcompiler=gnu95 |
||||||
) else ( |
) else ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2 -mincoming-stack-boundary=2" build --compiler=mingw32 --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2 -mincoming-stack-boundary=2" build --compiler=mingw32 --fcompiler=gnu95 |
||||||
) |
) |
||||||
python setup.py install --single-version-externally-managed --record=record.txt |
CALL python setup.py install --single-version-externally-managed --record=record.txt |
||||||
|
@ -1,13 +1,13 @@ |
|||||||
cd ../fortran |
cd ../fortran |
||||||
gfortran -E ompgen.F90 -cpp -fopenmp -o omp.f90 |
CALL gfortran -E ompgen.F90 -cpp -fopenmp -o omp.f90 |
||||||
REM Wildcards not working on Windows for some reason |
REM Wildcards not working on Windows for some reason |
||||||
f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
CALLf2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
||||||
cd .. |
cd .. |
||||||
python setup.py clean --all |
CALL python setup.py clean --all |
||||||
|
|
||||||
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp" build_ext --libraries="gomp" build --compiler=mingw32 --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp" build_ext --libraries="gomp" build --compiler=mingw32 --fcompiler=gnu95 |
||||||
) else ( |
) else ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp -mincoming-stack-boundary=2" build_ext --libraries="gomp" build --compiler=mingw32 --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp -mincoming-stack-boundary=2" build_ext --libraries="gomp" build --compiler=mingw32 --fcompiler=gnu95 |
||||||
) |
) |
||||||
python setup.py install --single-version-externally-managed --record=record.txt |
CALL python setup.py install --single-version-externally-managed --record=record.txt |
||||||
|
@ -1,13 +1,13 @@ |
|||||||
cd ../fortran |
cd ../fortran |
||||||
gfortran -E ompgen.F90 -cpp -o omp.f90 |
CALL gfortran -E ompgen.F90 -cpp -o omp.f90 |
||||||
REM Wildcards not working on Windows for some reason |
REM Wildcards not working on Windows for some reason |
||||||
f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
CALL f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
||||||
cd .. |
cd .. |
||||||
python setup.py clean --all |
CALL python setup.py clean --all |
||||||
|
|
||||||
%PROCESSOR_ARCHITECTURE% == AMD64 |
%PROCESSOR_ARCHITECTURE% == AMD64 |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2" build --compiler=msvc --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2" build --compiler=msvc --fcompiler=gnu95 |
||||||
) else ( |
) else ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2 -mincoming-stack-boundary=2" build --compiler=msvc --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -mfpmath=sse -msse2 -mincoming-stack-boundary=2" build --compiler=msvc --fcompiler=gnu95 |
||||||
) |
) |
||||||
python setup.py install --single-version-externally-managed --record=record.txt |
CALL python setup.py install --single-version-externally-managed --record=record.txt |
@ -1,13 +1,13 @@ |
|||||||
cd ../fortran |
cd ../fortran |
||||||
gfortran -E ompgen.F90 -cpp -fopenmp -o omp.f90 |
CALL gfortran -E ompgen.F90 -cpp -fopenmp -o omp.f90 |
||||||
REM Wildcards not working on Windows for some reason |
REM Wildcards not working on Windows for some reason |
||||||
f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
CALL f2py -m _wrffortran -h wrffortran.pyf --overwrite-signature wrf_constants.f90 wrf_testfunc.f90 wrf_user.f90 rip_cape.f90 wrf_cloud_fracf.f90 wrf_fctt.f90 wrf_user_dbz.f90 wrf_relhl.f90 calc_uh.f90 wrf_user_latlon_routines.f90 wrf_pvo.f90 eqthecalc.f90 wrf_rip_phys_routines.f90 wrf_pw.f90 wrf_vinterp.f90 wrf_wind.f90 omp.f90 |
||||||
cd .. |
cd .. |
||||||
python setup.py clean --all |
CALL python setup.py clean --all |
||||||
|
|
||||||
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
%PROCESSOR_ARCHITECTURE% == AMD64 ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp" build_ext --libraries="gomp" build --compiler=msvc --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp" build_ext --libraries="gomp" build --compiler=msvc --fcompiler=gnu95 |
||||||
) else ( |
) else ( |
||||||
python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp -mincoming-stack-boundary=2" build_ext --libraries="gomp" build --compiler=msvc --fcompiler=gnu95 |
CALL python setup.py config_fc --f90flags="-O2 -mtune=generic -fopenmp -mincoming-stack-boundary=2" build_ext --libraries="gomp" build --compiler=msvc --fcompiler=gnu95 |
||||||
) |
) |
||||||
python setup.py install --single-version-externally-managed --record=record.txt |
CALL python setup.py install --single-version-externally-managed --record=record.txt |
||||||
|
@ -1,2 +1,3 @@ |
|||||||
numpy>=1.10 |
numpy>=1.11 |
||||||
wrapt>=1.10 |
wrapt>=1.10 |
||||||
|
setuptools>=38.0 |
||||||
|
Loading…
Reference in new issue