climateprediction.net home page
Making \'viz\' runnable from any folder : solution.

Making \'viz\' runnable from any folder : solution.

Questions and Answers : Unix/Linux : Making \'viz\' runnable from any folder : solution.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile old_user32502

Send message
Joined: 9 Dec 04
Posts: 3
Credit: 10,123
RAC: 0
Message 9377 - Posted: 16 Feb 2005, 1:23:33 UTC

Currently the 'viz' application is a bit annoying because you have to 'cd' to the correct folder first.

Changing the 'viz' script as follows fixes this. Now you can run 'viz' from anywhere. This also makes it easier to put a shortcut to 'viz' on the desktop.

cd `dirname $0`
export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
nice -n19 ./hadsm3viz_4.04* $1

ID: 9377 · Report as offensive     Reply Quote
old_user30025

Send message
Joined: 15 Nov 04
Posts: 19
Credit: 35,499
RAC: 0
Message 9381 - Posted: 16 Feb 2005, 1:59:27 UTC

Will,

go to http://www.climateprediction.net/misc/contactus.php, choose the appropriate options and make your suggestion as I just did for a minor bug in viz yesterday.

Best

Rolf
ID: 9381 · Report as offensive     Reply Quote
Profile old_user32502

Send message
Joined: 9 Dec 04
Posts: 3
Credit: 10,123
RAC: 0
Message 9491 - Posted: 18 Feb 2005, 0:10:10 UTC - in response to Message 9381.  

Good point, just did that. Thanks.

ID: 9491 · Report as offensive     Reply Quote

Questions and Answers : Unix/Linux : Making \'viz\' runnable from any folder : solution.

©2024 cpdn.org