jameskermode / f90wrap

F90 to Python interface generator with derived type support
GNU Lesser General Public License v3.0
242 stars 80 forks source link

Install f90wrap without pip because there is no network in the cluster and it is under a personal account? #224

Open ctxu-NWPU opened 2 weeks ago

ctxu-NWPU commented 2 weeks ago

Can i install f90wrap without pip because there is no network in the cluster and it is under a personal account? I need to install QUIP and run LAMMPS for molecular dynamics simulation. @jameskermode

jameskermode commented 2 weeks ago

Yes, just download either the source tar ball or the relevant .whl file from PyPI and copy it over to the machine then install with pip locally.

ctxu-NWPU commented 2 weeks ago

Yes, just download either the source tar ball or the relevant .whl file from PyPI and copy it over to the machine then install with pip locally.

@jameskermode sorry, i cannot fully understand the method. I have downloaded the "f90wrap" from https://github.com/jameskermode/f90wrap/issues with "git clone https://github.com/jameskermode/f90wrap.git", and copy it over to the machine. And in the machine, it does not have "pip" because it does not network. Do you mean I should install the pip command first? I'm sorry to bother you.

jameskermode commented 2 weeks ago

To build from source you need pip and meson. Note that you need to use an older release for compatibily with QUIP: v0.2.14 or earlier. You could download a wheel from https://github.com/jameskermode/f90wrap/releases/tag/v0.2.14, but you will need pip installed locally to be able to install it.