command "export" has some problem
when I enter
Code:
mirage@myhost:~$ export PETSC_DIR="/usr/local/bin/petsc-3.4.4" Code:
bash: export PETSC_DIR=/usr/local/bin/petsc-3.4.4: No such file or directory my OS is lubuntu 12.10 |
Yeah there's a problem with export, because it will make the shell variable whether or not it exists.
What happens if you just type "export"? Does it show a bunch of declares? Does this always happen, or is it only happening on one shell, once? |
"PETSC_DIR" is the petsc/ source directory.
Configuring example : $ ./configure PETSC_DIR=$HOME/petsc #12 http://www.linuxquestions.org/questi...ies-440794/#12 PETSc info http://www.linuxquestions.org/questions/tags/petsc/ *** Which application is it that require PETSc ? ? - |
Quote:
Yesterday,when I just type "export",it will list many environment variables. But ,I just type Code:
PETSC_DIR="/usr/local/bin/petsc-3.4.4" Code:
echo $PETSC_DIR Code:
export PETSC_DIR It was not always out of the question.when I type export a=b,it can work well. Today,I try Code:
export PETSC_DIR="/usr/local/bin/petsc-3.4.4" |
Quote:
Code:
export PETSC_DIR="/usr/local/bin/petsc-3.4.4" but it work very well....I can't understand. it's a application called DAMASK than require PETSc. |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 12:25 AM. |