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

GMT fatal error #1

Open
rzinke opened this issue Jun 22, 2020 · 16 comments
Open

GMT fatal error #1

rzinke opened this issue Jun 22, 2020 · 16 comments

Comments

@rzinke
Copy link

rzinke commented Jun 22, 2020

I receive a "fatal error" when running the practice file for a left-lateral strike slip fault. I copied and pasted the code from Figure 6 in the user documentation. When I run the launch file, I get the message:

GMT Fatal Error: No SI/US keyword in GMT configuration file (FONT_LABEL = 12p,Helvetica,black
)

None of the .grd files are produced. Has anyone encountered this error before?

Thanks

@sbarbot
Copy link
Contributor

sbarbot commented Jun 22, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Hi @sbarbot, I removed the paths to GMT 6.0 in my shell.
Relax does not produce the necessary files. It only produces these:
cgrid.vtp
report.txt
rfaults-001.vtp
rfaults-001.xy

The error message looks like this:
coseismic event 001
I | Dt | tm(ve) | tm(pl) | tm(as) | t/tmax | power | C:E^i |
GMT Fatal Error: No SI/US keyword in GMT configuration file (FONT_LABEL = 12p,Helvetica,black
)

This is strange to me, because a few weeks ago I was able to run the example script successfully.

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Yes, in the Relax folder I first ran $ source setup.sh and it reported "Ready to run Relax."
Here is my path /Users/rzinke/Relax:/Users/rzinke/Relax/util:/Users/rzinke/Relax:/Users/rzinke/Relax/util:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Hm, using $ echo $LD_LIBRARY_PATH? How do I check it?

Thanks

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

MT-109587:RobzTests rzinke$ echo $LD_LIBRARY_PATH

returns nothing (blank)

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Yes, and received the message "Ready to run Relax"

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

I'll take a look tomorrow and try rebooting some things.

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

MT-109587:Relax rzinke$ echo $GMT_SHAREDIR
/Users/rzinke/Relax/share

MT-109587:Relax rzinke$ echo $PROJ_LIB
/Users/rzinke/Relax/share

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Here is a somewhat related problem I am having. I tried using Relax on our server, using the GitHub repo. I did:
git clone https://github.com/geodynamics/relax.git
cd relax
source setup.sh

but I got the following error message:
*** Error! ***

Source this script from the top-level Relax directory:

cd [directory containing 'setup.sh']
source setup.sh

I don't understand because I am already in the directory containing the setup.sh file, i.e., /u/sar-r2/rzinke/relax

@sbarbot
Copy link
Contributor

sbarbot commented Jun 23, 2020 via email

@rzinke
Copy link
Author

rzinke commented Jun 23, 2020

Okay, I removed the old version of Relax and replaced it with a fresh copy. Now the examples work.

Something must have gotten mangled up wrt GMT, possibly in the /Users/rzinke/Relax/RobzTests/gmt.conf or /Users/rzinke/Relax/share/gmt.conf files (?). I am not sure.

Thanks for the help, @sbarbot!

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

2 participants