forked from 3rdparty/wrf-python
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							17 lines
						
					
					
						
							835 B
						
					
					
				
			
		
		
	
	
							17 lines
						
					
					
						
							835 B
						
					
					
				#!/bin/bash | 
						|
 | 
						|
cd ../fortran/build_help | 
						|
ifort -o sizes -qopenmp omp_sizes.f90 &>/dev/null | 
						|
python sub_sizes.py | 
						|
 | 
						|
cd .. | 
						|
ifort ompgen.F90 -qopenmp -fpp -save-temps | 
						|
mv ompgen.i90 omp.f90 | 
						|
f2py *.f90 -m _wrffortran -h wrffortran.pyf --overwrite-signature | 
						|
cd .. | 
						|
 | 
						|
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 | 
						|
 | 
						|
#pip install . | 
						|
 | 
						|
 |