Problem compiling new version

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
mikemon
Posts: 6
Joined: Wed Apr 03, 2013 8:39 am

Problem compiling new version

Post by mikemon » Tue Apr 09, 2013 9:17 pm

Hi Rich,

I just tried to do an update of gyre by doing

hg pull
hg update

in each of the 3 gyre directories build, core and gyre.

On both of my macs I get the same compile error when compiling, for example, in the ad directory:

ix|~/gyre/gyre/ad> make
fpx3_deps -DGFORTRAN_PR_56052 -DGFORTRAN_PR_56872 -I.:../../core:../common:../ivp:../bvp:../coeffs:../matrix -DDEBUG -DOMP -DDOUBLE_PRECISION -DGFORTRAN_PR53945 -DGFORTRAN_PR56218 gyre_ad build_poly_hom > .depend
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c core_kinds.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c core_memory.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c core_parallel.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_gridpar.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_numpar.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_therm_coeffs.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_oscpar.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_mech_coeffs.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c core_constants.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c gyre_grid.f90
gfortran -I/Applications/madsdk/include -finit-real=snan -ffpe-trap=invalid,overflow,zero -fbacktrace -fcheck=all -Wall -Wno-unused-dummy-argument -finline-limit=0 -g -std=f2008 -fopenmp -c core_order.f90
make: *** No rule to make target `iso_c_binding.mod', needed by `core_hgroup.mod'. Stop.

Maybe I did something wrong (it's happened before). Do you know what the problem is? Could it be an error in the Makefile?

Cheers,

Mike

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: Problem compiling new version

Post by rhtownsend » Wed Apr 10, 2013 1:03 pm

mikemon wrote:
> Hi Rich,

<snip>

> make: *** No rule to make target `iso_c_binding.mod', needed by `core_hgroup.mod'.
> Stop.

This is fixed by upgrading your SDK (either MadSDK or MESA SDK). Sorry for the inconvenience this causes; hopefully, there shouldn't be need to do SDK updates too often.

cheers,

Rich

Post Reply