kgullikson88 / Telluric-Fitter

Telluric fitting made easy
http://telfit.readthedocs.org/en/latest/
MIT License
20 stars 17 forks source link

unable to run lblrtm #4

Open quidditymaster opened 10 years ago

quidditymaster commented 10 years ago

the installation seems to run fine but when I attempt to run the library_creation example script I get permissions errors.

Running exec: lblrtm

time: cannot run ./lblrtm: Permission denied Command exited with non-zero status 126 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 340maxresident)k 8inputs+0outputs (0major+72minor)pagefaults 0swaps Error: Command 'cd /home/tim/workspace/Telluric-Fitter/rundir2/;sh runlblrtm_v3.sh' failed in directory /home/tim/workspace/Telluric-Fitter/rundir2/

looking in the run directory rundir2 and looking at permissions I see that the lblrtm is a symbolic link to Telluric-Fitter/lblrtm/lblrtm_v12.2_linux_gnu_sgl and has all permissions set. But attempting to run the run script in the directory fails from the console.

./runlblrtm_v3.sh \nRunning exec: lblrtm\n\n ./runlblrtm_v3.sh: line 11: ./lblrtm: Permission denied

looking at the Telluric-Fitter directory I see that I don't have permissions to use the directory since it is somehow inexplicably owned by 2449 and part of group 504.

drwxrws--- 7 2449 504 4.0K Jul 10 14:33 lblrtm

executing a chown command on the Telluric-Fitter/lblrtm directory to make me the owner seems to fix the problem. (after also deleting the rundir#.lock files) which have built up from all the crashed run attempts.

kgullikson88 commented 10 years ago

Hmm, that's odd. I wonder if you used sudo to install it? I've had permission issues in the past when installing as root and trying to use as a normal user, but I thought I got those fixed.

quidditymaster commented 10 years ago

I did use root to install it, otherwise I get permissions errors.

irebollido commented 6 years ago

Hi! I managed to install in High Sierra with the comments from another users, but I am having an issue too with lblrtm. Whenever I try to run it, I get this message, and folders with the name rundir*.lock are created: _Running exec: lblrtm

At line 2410 of file ../src/pltlbl.f90 Fortran runtime error: End of record

Error termination. Backtrace:

0 0x10895d34c

1 0x10895e055

2 0x10895e7c9

3 0x108a9d1e2

4 0x108a99ccf

5 0x108a9e6c4

6 0x108a9f6e4

7 0x105af0d3e

8 0x105a61441

9 0x105a2f258

10 0x105a2a292

11 0x105a475a4

12 0x105a4816d

Error: Command 'cd /Users/isarebollido/.TelFit/rundir1/;sh runlblrtmv3.sh' failed in directory /Users/isarebollido/.TelFit/rundir1/

I tried to reinstall, but it didn't change anything, and I am guessing it might be an issue with fortran.

kgullikson88 commented 6 years ago

Did you also install with sudo? And what fortran compiler did you use? Perhaps you could try to manually compile LBLRTM with other compilers and then run it with the input file lblrtm generated in the rundir directory.

irebollido commented 6 years ago

I did install with sudo (I can't install otherwise), but changed the permissions afterwards so I could write on the folders with python. I used osxGNUsgl command (it would not install with intel compiler)

irebollido commented 6 years ago

I managed to reinstall without sudo (python setup.py install --force) and I also tried to compile with other compiler (it wouldn't work), but I still get the same error. It is definitely the lblrtm, since other tasks in the package work just fine.

gully commented 3 years ago

@irebollido and @quidditymaster were you able to resolve this Issue? Some new guidance is available in recent Issues, and we now offer an experimental pip install path for Python3. Are you or someone you know willing to beta test with the new installation guidance?

irebollido commented 3 years ago

Hi! I gave up eventually, but I'll be happy to test the new pip installation :)