Hi,

  Which  distribution of Linux are you running ?? 
  root must exist.  
   
    just say:  
      prompt>    su 
               enter root password 
     you are now root. 
     do your stuff 
     exit from root, back to normal user.  
 
    You are mixing up the bourne shell (Bash) 
    and the C shell  (csh) 
    in csh you would say    setenv  LDFLAGS "-L/usr/local/lib"
    in bash you would say   export LDFLAGS="-L/usr/local/lib"
    note the = sign
     
    hope this helps.  
regards,
andrew 
    





At 07:25 AM 7/17/2008, badar ahmed wrote:
>Dear Sir/Madam,
> 
>I have been trying to install BLAS onto my computer, all the following 
>commands work:
>mkdir blas && cd blas # the BLAS archive does not create its own directory
>get <http://www.netlib.org/blas/blas.tgz>http://www.netlib.org/blas/blas.tgz
>gunzip blas.tgz
>tar xf blas.tar
>f77 -c -O3 *.f   # compile all of the .f files to produce .o files
>ar rv libblas.a *.o    #  combine the .o files into a library
>
>However, when I type:
>
>
>su -c "cp libblas.a /usr/local/lib"   # switch to root and install
>
>it says: 'su: user root does not exist'.
>
>I think I may have missed the previous commands before installation:
>
>setenv LDFLAGS "-L/usr/local/lib"
>setenv CPPFLAGS "-I/usr/local/include"
>When I try to enter these now, it says 'bash: setenv: command not found'
>
>Can anyone please help?
>
>Thanks,
>Badar.



_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to