Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

compiling dev_grads on Peregrine #10

Open
pgebraad opened this issue Jul 28, 2015 · 1 comment
Open

compiling dev_grads on Peregrine #10

pgebraad opened this issue Jul 28, 2015 · 1 comment

Comments

@pgebraad
Copy link
Contributor

On linux on Peregrine, to get things to compile, I needed to add the flag -fPIC:

gfortran -c -fPIC adBuffer.f
gcc -c -fPIC adStack.c

Although I am not sure what it means, maybe it is something to add to the readme.

@jaredthomas68
Copy link
Contributor

As far as I understand it -fPIC makes the code independent of location (I think this has something to do with running on multiple nodes on a super computer). This option is also required for compiling on Marylou (BYU supercomputer).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants