Telluric-Fitter icon indicating copy to clipboard operation
Telluric-Fitter copied to clipboard

unable to run lblrtm

Open quidditymaster opened this issue 10 years ago • 8 comments

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.

quidditymaster avatar Jul 10 '14 23:07 quidditymaster

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.

kgullikson88 avatar Jul 11 '14 13:07 kgullikson88

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

quidditymaster avatar Jul 11 '14 15:07 quidditymaster

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 runlblrtm_v3.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.

irebollido avatar Apr 26 '18 19:04 irebollido

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.

kgullikson88 avatar Apr 26 '18 19:04 kgullikson88

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 avatar Apr 26 '18 19:04 irebollido

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.

irebollido avatar Apr 27 '18 15:04 irebollido

@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?

gully avatar Jun 10 '21 14:06 gully

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

irebollido avatar Jun 11 '21 21:06 irebollido