ESMG / pyroms

Python tools for the Regional Ocean Modeling System (ROMS)
Other
138 stars 88 forks source link

scrip.so missing #8

Open tjz2026 opened 6 years ago

tjz2026 commented 6 years ago

Hi, I am trying to install the pyroms package by following your readme instructions step by step. After installing pyroms, I found that import pyroms is not sucessful, e.g., when I import pyroms, I got "scrip.so not found. Remapping function will not be available"

Clearly the scrip has not been sucessfully installed and the .so has not been generated. Could you please give me some advice to fix this? thanks a lot~

B.T.W I installed pyroms on CentOS6.5 with GCC compiler and python3.4

kshedstrom commented 6 years ago

First, you need to find out if it really didn't get created. My advice is to cut and paste the pyroms installation script into a second (bash) terminal window a line or three at a time. Then you can more easily watch what happens (goes bad?). Normal is for it to run successfully, creating the .so files, but having python not find them. I don't entirely know how to get python to find them, but I copy them to somewhere on my LD_LIBRARY_PATH and on my PYTHONPATH.

Really, we want to get away from scrip and use ESMPy, being worked on in PyCNAL_remapping.

On Thu, May 31, 2018 at 12:32 AM, Jiuzhou Tang notifications@github.com wrote:

Hi, I am trying to install the pyroms package by following your readme instructions step by step. After installing pyroms, I found that import pyroms is not sucessful, e.g., when I import pyroms, I got "scrip.so not found. Remapping function will not be available"

Clearly the scrip has not been sucessfully installed and the .so has not been generated. Could you please give me some advice to fix this? thanks a lot~

B.T.W I installed pyroms on CentOS6.5 with GCC compiler and python3.4

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ESMG/pyroms/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbIHlv70Kexv0tqLWVgYIdk2h7S6ml7ks5t36qegaJpZM4UUoek .

summer2193 commented 5 years ago

Hi all, after I installed pyroms_toolbox and bathy_smoother, when I run install_pyroms.sh, I got "gfortran -g -fdefault -real-8 -ffixed-form -o2 -fPIC -Inf -config not yet implemented for cmake build/include -c ./netcdf.f no such file or directory" It seems that there is something wrong in "netcdf.f". Would you please help to give some advice? thanks a lot~

caioerick commented 5 years ago

I'm have the same problem. Has anyone managed to solve?

gscerveira commented 4 years ago

I was having the same problem (failing to import scrip), the issue was that scrip was looking for "libnetcdf.so.13" and i had a newer version (libnetcdf.so.15).

So the solution i found was to create a symbolic link, e.g.: sudo ln -s [mypath]/lib/libnetcdf.so.15 [mypath]/lib/libnetcdf.so.13.