-
Notifications
You must be signed in to change notification settings - Fork 18
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
Install geodynamics/relax #8
Comments
Best to compile the code directly with I see that your configuration was not successful. You need to provide the path to netcdf. Type |
The ‘INSTALL’ file gives you the procedure to compile and install the code, with examples for different platforms. Have you looked at it? Are you able to compile the code?
…________________________________
From: irmayolii ***@***.***>
Sent: Tuesday, February 14, 2023 6:38:05 AM
To: geodynamics/relax ***@***.***>
Cc: Sylvain Barbot ***@***.***>; Comment ***@***.***>
Subject: Re: [geodynamics/relax] Install geodynamics/relax (Issue #8)
Hi Prof. Barbot
I am a bit confused, how to install "relax". Is there any tutorial guide for installing by ubuntu?.
I try "source setup.sh" process on ubuntu, the result always error like that (on the picture). Sorry for very basic questions
[image]<https://urldefense.com/v3/__https://user-images.githubusercontent.com/80675405/218768438-adb79178-16ce-4562-9a8f-3d4a1221821c.png__;!!LIr3w8kk_Xxm!oK7G-aZ-6FyOAAYOOKGt_cGtEVqhYqIMsWWKuEPK2VYRsTMr0gaW4P7vRjy0fPYMnITjPT4jGoe1DMiSGL8sRYE$>
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/geodynamics/relax/issues/8*issuecomment-1429849395__;Iw!!LIr3w8kk_Xxm!oK7G-aZ-6FyOAAYOOKGt_cGtEVqhYqIMsWWKuEPK2VYRsTMr0gaW4P7vRjy0fPYMnITjPT4jGoe1DMiSGgXVAog$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABJHTWCXRU7X25FBQ6SKJSLWXOKE3ANCNFSM6AAAAAAUIQF6AA__;!!LIr3w8kk_Xxm!oK7G-aZ-6FyOAAYOOKGt_cGtEVqhYqIMsWWKuEPK2VYRsTMr0gaW4P7vRjy0fPYMnITjPT4jGoe1DMiSUpTjB_8$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I already install by source setup.sh and it success to be "ready to run relax". But when I try to run use ./run1.sh in the folder example/tutorials, it always error "relax: command not found" like in the picture. I also try another file *.sh in folder example and the result is same that "relax: command not found". |
Can you respond to my question? The ‘INSTALL’ file gives you the procedure to compile and install the code, with examples for different platforms. Have you looked at it? Are you able to compile the code?
…________________________________________
From: irmayolii ***@***.***>
Sent: Thursday, February 16, 2023 7:26 AM
To: geodynamics/relax
Cc: Sylvain Barbot; Comment
Subject: Re: [geodynamics/relax] Install geodynamics/relax (Issue #8)
I already install by source setup.sh and it success to be "ready to run relax". But when I try to run use ./run1.sh in the folder example/tutorials, it always error "relax: command not found" like in the picture. I also try another file *.sh in folder example and the result is same that "relax: command not found".
[image]<https://urldefense.com/v3/__https://user-images.githubusercontent.com/80675405/219410442-257dd810-859f-4e01-a0b3-9805016e7ba3.png__;!!LIr3w8kk_Xxm!owwfM9qjl_6zyQkinFKCNvothqcFsgW4dQXtEaXdeXu9IttR6QVg5t4JPP3gp8RoL7Dg8EtinhDy3s9elnv60lI$>
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/geodynamics/relax/issues/8*issuecomment-1433262621__;Iw!!LIr3w8kk_Xxm!owwfM9qjl_6zyQkinFKCNvothqcFsgW4dQXtEaXdeXu9IttR6QVg5t4JPP3gp8RoL7Dg8EtinhDy3s9enKiZqQg$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABJHTWFBDIUW6W7MZ7JVTJ3WXZBIZANCNFSM6AAAAAAUIQF6AA__;!!LIr3w8kk_Xxm!owwfM9qjl_6zyQkinFKCNvothqcFsgW4dQXtEaXdeXu9IttR6QVg5t4JPP3gp8RoL7Dg8EtinhDy3s9evtMX268$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Check the examples in `INSTALL`. You are probably missing some command-line options, such as `--check-c-compiler=icc` and `--check-fortran-compiler=ifort`.
|
Were you able to compile relax? I am trying to compile relax using gfortran on ubuntu and I am having the same "undefined reference" errors. I've been wondering if the errors are due to using gfortran, since the INSTALL file mentions that using certain versions of gfortran causes compiler errors when compiling viscoelastic3D.f90. However, I get the same errors as you posted when waf is linking build/relax, whereas viscoelastic3D.f90 processes without errors. |
Can you include the procedure you follow and the error message in context so we can help you? Are you using ./waf configure and ./waf?
…________________________________
From: Jarett ***@***.***>
Sent: Friday, July 26, 2024 6:58:52 AM
To: geodynamics/relax ***@***.***>
Cc: Sylvain Barbot ***@***.***>; Comment ***@***.***>
Subject: Re: [geodynamics/relax] Install geodynamics/relax (Issue #8)
Were you able to compile relax? I am trying to compile relax using gfortran on ubuntu and I am having the same "undefined reference" errors.
—
Reply to this email directly, view it on GitHub<https://urldefense.com/v3/__https://github.com/geodynamics/relax/issues/8*issuecomment-2251536329__;Iw!!LIr3w8kk_Xxm!of4fjNPpMRE6P_fi1zyKWLOz5BaW1lCHHuX4zJ-YIgbrEL1XsWSJDmIO80UHFWt_Eqecki6Ct_Txot43fi6Pwak$>, or unsubscribe<https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABJHTWFNM3OG4QFOVXENXHTZOF7KZAVCNFSM6AAAAABLPOF346VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRGUZTMMZSHE__;!!LIr3w8kk_Xxm!of4fjNPpMRE6P_fi1zyKWLOz5BaW1lCHHuX4zJ-YIgbrEL1XsWSJDmIO80UHFWt_Eqecki6Ct_Txot43ZJyvD80$>.
You are receiving this because you commented.Message ID: ***@***.***>
|
You might need to link in pthread. I think you can do this by changing
to
|
Hi everyone!
I wanna ask about installing, when I try to source setup.sh the result is error like this
sorry for very basic question
The text was updated successfully, but these errors were encountered: