[mesa-users] Fail to compile v4849 on ifort
Bill Paxton
paxton at kitp.ucsb.edu
Sun Mar 24 18:44:22 EDT 2013
Hi,
Another day another screw-up. My mistake.
You can patch it by replacing "eval_op_radacc" by "op_mono_get_radacc"
in diffusion/private/mod_diffusion_radacc.f
Let me know if there are still problems.
-Bill
On Mar 24, 2013, at 3:16 PM, Rob.Farmer wrote:
> Hi,
> Another day another ifort problem
>
> With mesa v4849 and ifort 13 i get this trying to build (works fine with gfortran)
>
> /media/Files2/mesa.git/diffusion
> building diffusion package.
>
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -O2 -c -fixed -132 -fpp ../private/paquette_coeffs.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../private/mod_diffusion_radacc.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../private/mod_diffusion_support.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../private/mod_diffusion_procs.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../private/mod_advection.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../private/mod_diffusion.f
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../public -I../private -I../../include -warn all -warn nounused -implicitnone -O2 -c -free -fpp ../public/diffusion_lib.f
> ar crs libdiffusion.a paquette_coeffs.o mod_diffusion_radacc.o mod_diffusion_support.o mod_diffusion_procs.o mod_advection.o mod_diffusion.o diffusion_lib.o
> make: `libdiffusion.a' is up to date.
> ifort -g -O2 -vec-report0 -traceback -error-limit 6 -openmp -threads -I../../make -I../../public -I../../../include -g -c -free -fpp ../src/test_diffusion.f
> ifort -openmp -threads -o ../tester test_diffusion.o -L../../make -ldiffusion -L../../../lib -lionization -lnse -lnet -leos -lkap -lscreen -lrates -lreaclib -lweak -lneu -lchem -linterp_2d -linterp_1d -lnum -lutils -lalert -lmtx -lconst -lmesaklu -llapack -lblas
> ../../make/libdiffusion.a(mod_diffusion_radacc.o): In function `test_op':
> /media/Files2/mesa.git/diffusion/make/../private/mod_diffusion_radacc.f:278: undefined reference to `eval_op_radacc_'
> make: *** [tester] Error 1
>
> /media/Files2/mesa.git/diffusion/test
> FAILED
>
>
> grepping for eval_op_radacc points to kap/private/op_eval.f and therefore we should have
> use mod_op_eval, only: eval_op_radacc
> at the top of diffusion/private/mod_diffusion_radacc.f but then there's a problem compiling as it cant find the stuff in kap and i'm not sure how to alter diffusion's makefile to pick up the file
>
> Any help?
>
> Thanks
> Rob
>
> --
> The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mesa-users
More information about the Mesa-users
mailing list