thespacedoctor / Orbfit5.0-fork

Orbfit v5.0.5 distribution with modifications
GNU General Public License v3.0
3 stars 0 forks source link

problem with ephem script #2

Closed asteroidnerd closed 6 years ago

asteroidnerd commented 6 years ago

OK, so I installed this fork and it seems to run ok with the test file and the .oep output file containing positions is correct, although the screen output is different from the instructions: alanfitzsimmons% orbfit.x Run name = orbfit-template-run-options Run name = orbfit-template-run-options Using .rwo file, but checking .obs,.rad for update. input_obs: 1 obs from ./dummy.rwo input_obs: 1 obs from ./dummy.obs There are no updates in .obs or .rad files. Using .rwo file, but checking .obs,.rad for update. input_obs: 1 obs from ./dummy.rwo input_obs: 1 obs from ./dummy.obs There are no updates in .obs or .rad files. ORBFIT: propagation of orbital elements write_elems: ndim.ne.nd 0 6 write_elems: ndim.ne.nd 0 6 ORBFIT: generating ephemerides

But when I try to run the ephem script, it just falls over. **alanfitzsimmons% which ephem /Users/alanfitzsimmons/bin/Orbfit5.0/bin/ephem alanfitzsimmons% ephem T05 57916.0 10547 STOP rdelem: nfil > nfilx

alanfitzsimmons% ephem 500 57916.0 2009wc10 STOP rdelem: nfil > nfilx**

thespacedoctor commented 6 years ago

are you definitely in your orbfit conda environment?

source activate orbfit5.0
thespacedoctor commented 6 years ago

no hold-on, I'm getting that too on my mac. I upgraded to High Sierra and I bet that messed things up. I'm going to recompile and see if that gets me anywhere.

asteroidnerd commented 6 years ago

Yep I'm on high sierra too - upgraded last month, dammit

thespacedoctor commented 6 years ago

So crazy story ... I dropped out of my conda environment and tried to recompile Orbfit with the native macOS 10.13.4 gcc compiler:

cd ~/Orbfit5.0
make clean
./config -O gfortran
make

Then:

> ephem T05 57916.0 10547
mjd,ra_deg,dec_deg,apparent_mag,observer_distance,heliocentric_distance,sun_obs_target_angle,phase_angle,galactic_latitude,ra_arcsec_per_hour,dec_arcsec_per_hour,object_name,obscode
57916.000000,15.077431,2.039571,18.123,2.1104503,1.9411821,66.3842,28.6332,-60.7539,65.8674,26.0504,10547,T05

!!! What do you know ... apple fixed something!

thespacedoctor commented 6 years ago

Sorry forgot to say, do a git pull in the Orbfit5.0 directory before recompile ... made a few changes as the gfortran linter complained at a few formatting issues.

asteroidnerd commented 6 years ago

No joy, getting tired, may chat this evening or look at it again tomorrow.

Cheers Alan


Alan Fitzsimmons Tel: +44 (0) 2890-973573 Astrophysics Research Centre Fax: +44 (0) 2890-973110 Queen's University Belfast e-mail: a.fitzsimmons@qub.ac.uk Belfast BT7 1NN WWW: http://star.pst.qub.ac.uk/~af/ Northern Ireland


On 24 May 2018, at 17:23, David Young notifications@github.com wrote:

Sorry forgot to say, do a git pull in the Orbfit5.0 directory before recompile ... made a few changes as the gfortran linter complained at a few formatting issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

asteroidnerd commented 6 years ago

Uh-oh

[comet:~] alanfitzsimmons% git clone git@github.com:thespacedoctor/Orbfit5.0-fork.git Cloning into 'Orbfit5.0-fork'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.


Alan Fitzsimmons Tel: +44 (0) 2890-973573 Astrophysics Research Centre Fax: +44 (0) 2890-973110 Queen's University Belfast e-mail: a.fitzsimmons@qub.ac.uk Belfast BT7 1NN WWW: http://star.pst.qub.ac.uk/~af/ Northern Ireland


On 27 Sep 2018, at 13:43, David Young notifications@github.com wrote:

Closed #2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

thespacedoctor commented 6 years ago

What machine are you using? You need to add you public key from the machine to your github account to be able to clone this repo.

asteroidnerd commented 6 years ago

\begin{facepalm}

I thought I'd done that when I joined github last year….

Thanks Alan


Alan Fitzsimmons Tel: +44 (0) 2890-973573 Astrophysics Research Centre Fax: +44 (0) 2890-973110 Queen's University Belfast e-mail: a.fitzsimmons@qub.ac.uk Belfast BT7 1NN WWW: http://star.pst.qub.ac.uk/~af/ Northern Ireland


On 27 Sep 2018, at 18:14, David Young notifications@github.com wrote:

What machine are you using? You need to add you public key from the machine to your github account to be able to clone this repo.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.