Hello, I'm trying to install SAC. I have modified the file sacinit.csh and sacinit.sh.
For the file sacinit.csh I changed: setenv SACHOME /home/claudia/sac.
For the file sacinit.sh I changed: export SACHOME=/home/claudia/sac.
Then I write in my terminal gedit ~/.cshrc . It was an empty file, I addded
setenv SACHOME /home/claudia/sac
source ${SACHOME}/bin/sacinit.csh
I opend the file ~/.basrc, And I added at the end:
export SACHOME=/home/claudia/sac
. ${SACHOME}/bin/sacinit.sh
Then I write in terminal:
source ${SACHOME}/bin/sacinit.csh .
I says that the command setenv doesn't exist. And that appears the next line:
bash: /claudia/home/sac/bin/sacinit.csh: The file or the directory don't exist.
When I write:
. ~/.bashrc
Appears:
bash: .~/.bashrc: the file or directory don't exist
I would be glad if you help me with this problem.
For the file sacinit.csh I changed: setenv SACHOME /home/claudia/sac.
For the file sacinit.sh I changed: export SACHOME=/home/claudia/sac.
Then I write in my terminal gedit ~/.cshrc . It was an empty file, I addded
setenv SACHOME /home/claudia/sac
source ${SACHOME}/bin/sacinit.csh
I opend the file ~/.basrc, And I added at the end:
export SACHOME=/home/claudia/sac
. ${SACHOME}/bin/sacinit.sh
Then I write in terminal:
source ${SACHOME}/bin/sacinit.csh .
I says that the command setenv doesn't exist. And that appears the next line:
bash: /claudia/home/sac/bin/sacinit.csh: The file or the directory don't exist.
When I write:
. ~/.bashrc
Appears:
bash: .~/.bashrc: the file or directory don't exist
I would be glad if you help me with this problem.
-
Hi,
the environmental variable SETENV is used in Solaris systems,
on Linux you must to use sacinit.sh script that use export.
so, in Linux run sourcing sacinit.sh
if ~/.bashrc not exit in your home directory, perhaps exits ~/.bash_profile
do, ls -la to list the hidden files in your $HOME directory.
Cheers,
M.
On May 26, 2017, at 21:49, Claudia Mariana Flores <cm.flores.ruiz<at>gmail.com> wrote:
Hello, I'm trying to install SAC. I have modified the file sacinit.csh and sacinit.sh.
For the file sacinit.csh I changed: setenv SACHOME /home/claudia/sac.
For the file sacinit.sh I changed: export SACHOME=/home/claudia/sac.
Then I write in my terminal gedit ~/.cshrc . It was an empty file, I addded
setenv SACHOME /home/claudia/sac
source ${SACHOME}/bin/sacinit.csh
I opend the file ~/.basrc, And I added at the end:
export SACHOME=/home/claudia/sac
. ${SACHOME}/bin/sacinit.sh
Then I write in terminal:
source ${SACHOME}/bin/sacinit.csh .
I says that the command setenv doesn't exist. And that appears the next line:
bash: /claudia/home/sac/bin/sacinit.csh: The file or the directory don't exist.
When I write:
. ~/.bashrc
Appears:
bash: .~/.bashrc: the file or directory don't exist
I would be glad if you help me with this problem.
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-
Thank you so much, I wrote sacinit.sh in the terminal (while I was at the bin folder) and it worked.
-
Hi again, I 've just realized that I have to write in terminal:
claudia@claudia-Satellite-L855:~/sac/bin$ source sacinit.sh
and
claudia@claudia-Satellite-L855:~/sac/bin$ sacinit.sh
everytime that I want to use the program.
Is it normal?
-
----- Messaggio originale -----
Da: "Milton Plasencia" <mpplasencia<at>gmail.com>
Inviato: 26/05/2017 21:59
A: "SAC Help" <sac-help<at>lists.ds.iris.edu>
Oggetto: Re: [sac-help] Installing SAC
Hi,
the environmental variable SETENV is used in Solaris systems,
on Linux you must to use sacinit.sh script that use export.
so, in Linux run sourcing sacinit.sh
if ~/.bashrc not exit in your home directory, perhaps exits ~/.bash_profile
do, ls -la to list the hidden files in your $HOME directory.
Cheers,
M.
On May 26, 2017, at 21:49, Claudia Mariana Flores <cm.flores.ruiz<at>gmail.com> wrote:
----------------------
Hello, I'm trying to install SAC. I have modified the file sacinit.csh and sacinit.sh.
For the file sacinit.csh I changed: setenv SACHOME /home/claudia/sac.
For the file sacinit.sh I changed: export SACHOME=/home/claudia/sac.
Then I write in my terminal gedit ~/.cshrc . It was an empty file, I addded
setenv SACHOME /home/claudia/sac
source ${SACHOME}/bin/sacinit.csh
I opend the file ~/.basrc, And I added at the end:
export SACHOME=/home/claudia/sac
. ${SACHOME}/bin/sacinit.sh
Then I write in terminal:
source ${SACHOME}/bin/sacinit.csh .
I says that the command setenv doesn't exist. And that appears the next line:
bash: /claudia/home/sac/bin/sacinit.csh: The file or the directory don't exist.
When I write:
. ~/.bashrc
Appears:
bash: .~/.bashrc: the file or directory don't exist
I would be glad if you help me with this problem.
----------------------
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
SAC Help | http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-