[Pw_forum] Need help for compilation

Miguel Martínez Canales wmbmacam at lg.ehu.es
Fri May 18 18:32:55 CEST 2007


Dear Vu,

If you are on a cluster, $HOME/bin is probably in your PATH, and moving the 
binary there would do it. Else, supposing you have the g95 binary in 
~/g95-install/bin, you could try the following (in bash):

export PATH=$PATH:~/g95-install/bin

However, these changes will only last for the current session. If you want 
these changes to persist, you should add it to your .bashrc file.

Another option is to kindly ask your "root" to install it systemwide (or 
ifort, for that matter).

vu ongphuong escribió:
> Dear users,
>  
> I use g95 for PWSCF compilation. Because I only have rights to work on 
> my directory, I can not install g95 into /usr/local/. How can I make 
> PWSCF know where is my g95? In other words, how to set path leading 
> PWSCF to the g95 directory?
>  
> Thank you very much for your help,

-- 
----------------------------------------
Miguel Martínez Canales
Dto. Física de la Materia Condensada
UPV/EHU
Facultad de Ciencia y Tecnología
Apdo. 644
48080 Bilbao (Spain)
Fax:  +34 94 601 3500
Tlf:  +34 94 601 5437
----------------------------------------

  "If you have an apple and I have an apple and
  we exchange these apples then you and I will
  still each have one apple. But if you have an
  idea and I have an idea and we exchange these
  ideas, then each of us will have two ideas."

    George Bernard Shaw




More information about the users mailing list