Browse Source

Changed to make a wheel

lon0
Bill Ladwig 7 years ago
parent
commit
a6452a25da
  1. 6
      build_scripts/chey_intel_mkl_omp.sh

6
build_scripts/chey_intel_mkl_omp.sh

@ -1,17 +1,17 @@
#!/bin/bash #!/bin/bash
cd ../fortran/build_help cd ../fortran/build_help
ifort -o sizes -qopenmp omp_sizes.f90 &>/dev/null ifort -o sizes -qopenmp omp_sizes.f90
python sub_sizes.py python sub_sizes.py
cd .. cd ..
ifort ompgen.F90 -qopenmp -fpp -save-temps ifort ompgen.F90 -qopenmp -fpp -save-temps > /dev/null 2>&1
mv ompgen.i90 omp.f90 mv ompgen.i90 omp.f90
f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature
cd .. cd ..
python setup.py clean --all python setup.py clean --all
python setup.py config_fc --f90flags="-O3 -xHost -mkl -qopenmp" build_ext --rpath="/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64_lin" --library-dirs="/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64_lin" --libraries="mkl_intel_ilp64 mkl_intel_thread mkl_core iomp5 pthread m dl" build --compiler=intelem --fcompiler=intelem python setup.py config_fc --f90flags="-O3 -xHost -mkl -qopenmp" build_ext --rpath="/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64_lin" --library-dirs="/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/lib/intel64_lin:/glade/u/apps/opt/intel/2017u1/compilers_and_libraries/linux/mkl/lib/intel64_lin" --libraries="mkl_intel_ilp64 mkl_intel_thread mkl_core iomp5 pthread m dl" build --compiler=intelem --fcompiler=intelem bdist_wheel
#pip install . #pip install .

Loading…
Cancel
Save