Tudat / tudat

NOTE: This Tudat version is no longer supported. See https://docs.tudat.space/en/stable/ and https://github.com/tudat-team/tudat-bundle for the new version
BSD 3-Clause "New" or "Revised" License
87 stars 143 forks source link

Multiple Tests related to orbit determination fail (e.g., test_*Partials) #295

Closed Sceki closed 6 years ago

Sceki commented 6 years ago

I have a MacBook Pro, macOs Sierra version 10.12.6. I have an error while running the test: "Errors while running CTest make: *** [test] Error 8 12:27:57: The process "/Applications/CMake.app/Contents/bin/cmake" exited with code 2. Error while building/deploying project TudatBundle (kit: Desktop) When executing step "CMake Build" ". I am Giacomo Acciarini, from the course Numerical Astrodynamics.

DominicDirkx commented 6 years ago

@Sceki Did you compile all of Tudat (including the tests) already? If you did, on the wiki, there is a list of files that we need to understand what is going on, please post those as well.

Sceki commented 6 years ago

Thanks for your answer! Sorry but what is the wiki?

DominicDirkx commented 6 years ago

I mean our website: tudat.tudelft.nl. It's at the end our installation guide.

Sceki commented 6 years ago

ok. I reached the step 5 of the point 3 in the installation guide. But I didn't remove the word "test" and I didn't press the hammer since I had those errors.

DominicDirkx commented 6 years ago

Ok.... Read step 5 and please follow the instructions on what to do after one or more tests fail.

Sceki commented 6 years ago

This is my file lasttest.log: LastTest.log

DominicDirkx commented 6 years ago

@Sceki There seems to be quite a lot failing for you, but in most cases the failures seem to be due to a common origin (in particular related to Eigen functionality). Could you post a screenshot of yout Project->Build&Run->Build screen:

image

Also, could you run the following example applications:

application_ApolloEntry application_ApolloEntryJSON application_VariationalEquationsPropagator application_SinglePerturbedSatellitePropagator

And let us know if they run properly?

An explanation on how to run them is given here:

http://tudat.tudelft.nl/installation/configureTudatLibraries.html

In step 6. Also:

" After running the unit tests, make sure to remove the ‘test’ text that you’ve typed in the project tab. "

If you come to the lecture today, we will try to make some time for you afterwards to looko at this problem, at least to diagnose if it will impact your ability to do the assignments.

Sceki commented 6 years ago

These are the screens:

schermata 2017-11-17 alle 12 29 47 schermata 2017-11-17 alle 12 29 47

I removed the "test" word! And running the aforesaid 4 applications I have these results:

schermata 2017-11-17 alle 12 36 32 schermata 2017-11-17 alle 12 35 45 schermata 2017-11-17 alle 12 34 41 schermata 2017-11-17 alle 12 35 45

I am coming anyway today!

Sceki commented 6 years ago
schermata 2017-11-17 alle 12 33 40
DominicDirkx commented 6 years ago

@Sceki Thanks for the quick reply. This all looks good, these seem to give the output they're supposed to. I think there's a good chance these failures won't affect your ability to do the assignments, but we'll have a better look this afternoon.

Sceki commented 6 years ago

Ok! Thank you very much for your help!

magnific0 commented 6 years ago

I am mentioning the tests here so that people can find this issue more easily

test_AngularPositionModel
test_PositionObservationModel
test_TidalPropertyEstimation
test_SphericalHarmonicPartials
test_OneWayRangePartials
test_NWayRangePartials
test_OneWayDifferencedRangePartials
test_OneWayDopplerPartials
test_TwoWayDopplerPartials
test_AngularPositionPartials
test_LightTimeCorrectionPartials
test_VariationalEquations

Edit by @DominicDirkx Small addition, with latest commit:

https://github.com/Tudat/tudat/commit/aa1ea473beda94c5f926d8a0d8105b3d953ab244

The list of failures is reduced to:

test_TidalPropertyEstimation test_SphericalHarmonicPartials test_LightTimeCorrectionPartials test_VariationalEquations

DominicDirkx commented 6 years ago

Small update: it looks like this is a result of compilation with debugging symbols on. Of course, this should not be a problem, and I'll see if I can reproduce this issue.

@Sceki Have you gone through the steps we discussed on Friday to fix this for you?

DominicDirkx commented 6 years ago

When compiling in Debug mode, it seems like these also occur for me. Looks like they're all small issues, we'll get to fixing them in the coming weeks.

@Sceki Nevertheless, make sure you do not compile/run in debug mode. These may prevent the code for your assignments from running. Even if it doesn't, your code will be very slow.

Sceki commented 6 years ago

Ok. Thank you very much!


Da: DominicDirkx [notifications@github.com] Inviato: domenica 19 novembre 2017 18.14 A: Tudat/tudat Cc: Giacomo Acciarini; Mention Oggetto: Re: [Tudat/tudat] Multiple Tests related to orbit determination fail (e.g., test_*Partials) (#295)

When compiling in Debug mode, it seems like these also occur for me. Looks like they're all small issues, we'll get to fixing them in the coming weeks.

@Scekihttps://github.com/sceki Nevertheless, make sure you do not compile/run in debug mode. These may prevent the code for your assignments from running. Even if it doesn't, your code will be very slow.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/Tudat/tudat/issues/295#issuecomment-345533049, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AgC9HmnZ2ANYD5svF2G5ueH4elb0goWdks5s4GITgaJpZM4QgUzU.

Sceki commented 6 years ago

Anyway I did not go through the steps we discussed, because I understood that I should be able to do the first assignments in any case. Could you please tell me the steps again so that I can do it now, if it is useful?

DominicDirkx commented 6 years ago

All unit test failures have been resolved with the latest commits.

@Sceki Delete your build folders, delete your CMakeLists.txt.user file, make sure that your build setting is set to Default or Release (and not Debug), close Qt, repopen and recompile.

In the future, please write down answers that you will need later. I do not appreciate having to spend time answering the same question by the same person multiple time.