Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sets FC to f77 by default covering up FC ?= gfortran #45

Open
mandli opened this issue Jul 26, 2013 · 2 comments
Open

Make sets FC to f77 by default covering up FC ?= gfortran #45

mandli opened this issue Jul 26, 2013 · 2 comments

Comments

@mandli
Copy link
Member

mandli commented Jul 26, 2013

Currently the default (in GNU Make anyway) for FC is set to f77. This makes it so that

FC ?= gfortran

never works (although if FC is set in the environment or on the command line this will work). Something like

ifeq ($(FC), f77)
    FC = gfortran 
endif

would work to replace f77 (since we do not support it anyway) but this really should happen above any variables the user sets.

@mandli
Copy link
Member Author

mandli commented Jul 26, 2013

Decided with @rjleveque to modify the Makefile.common and the local Makefiles to not include the FC variable and set FC = gfortran in Makefile.common if FC = f77.

@mandli
Copy link
Member Author

mandli commented Jul 26, 2013

Also see clawpack/amrclaw#49.

rjleveque pushed a commit to rjleveque/clawutil that referenced this issue Jul 31, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant