{"action":"created","issue":{"url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/9","labels_url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/9/comments","events_url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/9/events","html_url":"https://github.com/kgullikson88/Telluric-Fitter/issues/9","id":96119284,"number":9,"title":"End of File Runtime Error","user":{"login":"datlee","id":13369883,"avatar_url":"https://avatars.githubusercontent.com/u/13369883?v=3","gravatar_id":"","url":"https://api.github.com/users/datlee","html_url":"https://github.com/datlee","followers_url":"https://api.github.com/users/datlee/followers","following_url":"https://api.github.com/users/datlee/following{/other_user}","gists_url":"https://api.github.com/users/datlee/gists{/gist_id}","starred_url":"https://api.github.com/users/datlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datlee/subscriptions","organizations_url":"https://api.github.com/users/datlee/orgs","repos_url":"https://api.github.com/users/datlee/repos","events_url":"https://api.github.com/users/datlee/events{/privacy}","received_events_url":"https://api.github.com/users/datlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-20T17:46:16Z","updated_at":"2015-07-24T17:43:13Z","closed_at":null,"body":"I'm running into a strange runtime issue when attempting to apply the software to my data, and unfortunately the error message isn't providing enough information to allow me to diagnose the problem.  The code iterates through the atmosphere fitting stage without difficulty for a while before throwing the following runtime message. \r\n\r\nAt line 214 of file ../src/util_gfortran.f90 (unit = 11, file = 'TAPE11')\r\nFortran runtime error: Sequential READ or WRITE not allowed after EOF marker, possibly use REWIND or BACKSPACE\r\nError: Command 'cd /Users/advisor/software/TelFit-1.2/rundir1/;sh runlblrtm_v3.sh' failed in directory /Users/advisor/software/TelFit-1.2/rundir1/\r\n\r\nI've verified that read/write permissions exist for rundir1/TAPE11, and indeed the file is updated as LBLRTM explores the parameter space.  I've also successfully run fit_example/Fit.py on the same system without difficulty.\r\n\r\nI've attempted to look into the source code for the offending file, but I am unable to locate any file called util_gfortran.f90 in the TelFit distribution that has the listed code snippet at line 214.\r\n\r\nThe software was compiled from TelFit v1.2 on OS X 10.10.3 using gfortran 4.8.5, and I reconfigured the base distribution to allow processing of low-resolution spectra as described on the FAQ page."},"comment":{"url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/comments/124595125","html_url":"https://github.com/kgullikson88/Telluric-Fitter/issues/9#issuecomment-124595125","issue_url":"https://api.github.com/repos/kgullikson88/Telluric-Fitter/issues/9","id":124595125,"user":{"login":"datlee","id":13369883,"avatar_url":"https://avatars.githubusercontent.com/u/13369883?v=3","gravatar_id":"","url":"https://api.github.com/users/datlee","html_url":"https://github.com/datlee","followers_url":"https://api.github.com/users/datlee/followers","following_url":"https://api.github.com/users/datlee/following{/other_user}","gists_url":"https://api.github.com/users/datlee/gists{/gist_id}","starred_url":"https://api.github.com/users/datlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datlee/subscriptions","organizations_url":"https://api.github.com/users/datlee/orgs","repos_url":"https://api.github.com/users/datlee/repos","events_url":"https://api.github.com/users/datlee/events{/privacy}","received_events_url":"https://api.github.com/users/datlee/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T17:43:13Z","updated_at":"2015-07-24T17:43:13Z","body":"At the moment, I seem to have stumbled out of the error condition I was running into.  The code is being used by my student, and in the process of trying to isolate the error I realized that there was a units problem with the wavelength argument passed to the modeling code, which caused the wavelengths passed to the code to extend past the range that was defined at compile time.  This appears to have solved the problem.  I am not 100% confident in the solution, but so far the error has not recurred."}}