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

compile problem #116

Closed
airsound opened this issue Oct 27, 2016 · 7 comments
Closed

compile problem #116

airsound opened this issue Oct 27, 2016 · 7 comments
Assignees
Labels

Comments

@airsound
Copy link

I downloaded the nek5000 with svn, when I compile the tools with
./maketools all

it has an error that

Make exo2nek...

make[1]: Entering directory `/work/Nek5000-master/svn/nek5000/tools/exo2nek'
gfortran -mcmodel=medium -c -fdefault-real-8 exo2nek.f
exo2nek.f:42: Error: Can't open included file 'exodusII.inc'
make[1]: *** [exo2nek.o] Error 1

could anyone tell me how to fix thie problem?

Then I tried to downlad the nek with git, when I compile the tools, it has an error that


Make postnek...

make[1]: Entering directory `/work/Nek5000-master/nek/tools/postnek'
gfortran -mcmodel=medium -c ../../nek/3rd_party/blas.f
gfortran: error: ../../nek/3rd_party/blas.f: No such file or directory
gfortran: fatal error: no input files
compilation terminated.
make[1]: *** [blas.o] Error 4

Although I make a dir of nek/3rd_party, it did not work.

Any suggestion? I will appreciate it very much.

@airsound airsound changed the title compile compile problem Oct 27, 2016
@stgeke stgeke added the bug label Oct 29, 2016
@stgeke
Copy link
Contributor

stgeke commented Oct 29, 2016

You run into this issue because exo2nek depends on the netcdf and exodusII library. We should not build exo2nek by default.

@ghost
Copy link

ghost commented Nov 1, 2016

I am also having the same error when I clone nek with git and then try to compile the tools

make[1]: Entering directory `/home/mch56/Nek5000/tools/postnek'
gfortran -mcmodel=medium -c    ../../nek/3rd_party/blas.f
gfortran: error: ../../nek/3rd_party/blas.f: No such file or directory
gfortran: fatal error: no input files
compilation terminated.
make[1]: *** [blas.o] Error 4

@RonRahaman
Copy link
Contributor

RonRahaman commented Nov 1, 2016

This was fixed in the develop branch. @mch56, you can get these fixes by cloning the the develop branch (rather than the master branch):
git clone https://github.com/Nek5000/nek5000.git -b develop
or
svn co https://github.com/Nek5000/nek5000.git/branches/develop nek5000

@stgeke, should we merge this hotfix into master right now? If so, I can cherry-pick the commit from the develop and submit a PR.

@stgeke
Copy link
Contributor

stgeke commented Nov 1, 2016

Sure, we should do this. Was this fixed also in release/v16.0.0?

Von: Ron Rahaman notifications@github.com
Antworten an: Nek5000/Nek5000
<reply+011ba67f2afa09d30f7629cae93ee854b798de7ec713247692cf000000011430a1229
2a169ce0b1190ef@reply.github.com>
Datum: Tuesday, November 1, 2016 at 8:29 PM
An: Nek5000/Nek5000 Nek5000@noreply.github.com
Cc: Stefan Kerkemeier stgeke@gmail.com, Mention
mention@noreply.github.com
Betreff: Re: [Nek5000/Nek5000] compile problem (#116)

This was fixed in the develop branch. @mch56 https://github.com/mch56 ,
you can get these fixes by cloning the the develop branch (rather than the
master branch):
git clone https://github.com/Nek5000/nek5000.git -b master
or
svn co https://github.com/Nek5000/nek5000.git/branches/master nek5000

@stgeke https://github.com/stgeke , should we merge this hotfix into
master right now? If so, I can cherry-pick the commit from the develop and
submit a PR.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#116 (comment) , or
mute the thread
<https://github.com/notifications/unsubscribe-auth/ARumf-EZhZVuanGiFBklEn0kI
tUB88wbks5q54UigaJpZM4Kie-5> .

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4b
b","name":"GitHub"},"entity":{"external_key":"github/Nek5000/Nek5000","title
":"Nek5000/Nek5000","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143
418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"h
ttps://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6
-9aed-b52498112777.png","action":{"name":"Open in
GitHub","url":"https://github.com/Nek5000/Nek5000"}},"updates":{"snippets":[
{"icon":"PERSON","message":"@RonRahaman in #116: This was fixed in the
develop branch. @mch56, you can get these fixes by cloning the the develop
branch (rather than the master branch):\r\ngit clone https://github.com/Nek5000/nek5000.git -b master\r\nor \r\nsvn co https://github.com/Nek5000/nek5000.git/branches/master nek5000\r\n\r\n@stgeke, should we merge this hotfix into master right
now? If so, I can cherry-pick the commit from the develop and submit a PR.
"}],"action":{"name":"View
Issue","url":"#116 (comment)
652389"}}}

@ghost
Copy link

ghost commented Nov 2, 2016

So if I clone the develop branch rather than the master branch, and then try and compile the tools I get this error

make[1]: Entering directory `/home/mch56/Nek5000/tools/exo2nek'
gfortran -mcmodel=medium -c -fdefault-real-8 exo2nek.f
exo2nek.f:42: Error: Can't open included file 'exodusII.inc'
make[1]: *** [exo2nek.o] Error 1
make[1]: Leaving directory `/home/mch56/Nek5000/tools/exo2nek'
make: *** [all] Error 1

@RonRahaman
Copy link
Contributor

@stgeke, we can provide a solution to this problem via PR #139. Could you take a look and approve?

@stgeke
Copy link
Contributor

stgeke commented Nov 10, 2016

Fixed in #

@stgeke stgeke closed this as completed Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants