1)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 66212)
Posted 21 Feb 2017 by haegga Post: Great looking forward for the nbody patches. Can you please have a look at my app file? Maybe I have done something wrong with it? Still unclear for me why my WU are marke es invalid <app_info> <app> <name>milkyway</name> </app> <file_info> <name>milkyway_separation_1.44_amd64-unknown-freebsd</name> <executable/> </file_info> <app_version> <app_name>milkyway</app_name> <version_num>144</version_num> <file_ref> <file_name>milkyway_separation_1.44_amd64-unknown-freebsd</file_name> <main_program/> </file_ref> </app_version> </app_info> |
2)
Message boards :
Application Code Discussion :
Source Code and Optimized FreeBSD Binaries
(Message 66173)
Posted 10 Feb 2017 by haegga Post: Hello, I also try to bring milkyway back to life on FreeBSD. I got two boxes FreeBSD 10.3 with boinc (7.7.0 x86_64-pc-freebsd) I have two issues, the first one I am not able to build nbody, I get an error when linking the binary, please see below. Separation seems to build fine, I also can compute WU but there always getting invalid. Anyone some idea what to do? Stderr output <core_client_version>7.7.0</core_client_version> <![CDATA[ <stderr_txt> <search_application> milkyway_separation 1.44 FreeBSD x86_64 double </search_application> Error loading Lua script 'astronomy_parameters.txt': [string "number_parameters: 4..."]:1: '<name>' expected near '4' Switching to Parameter File 'astronomy_parameters.txt' <number_WUs> 5 </number_WUs> <number_params_per_WU> 20 </number_params_per_WU> Using SSE4.1 path Integral 0 time = 1220.132963 s Running likelihood with 84046 stars Likelihood time = 2.580050 s <background_integral> 0.000212866612270 </background_integral> <stream_integral> 11.052744949797388 817.159170372060885 109.130815816830406 </stream_integral> <background_likelihood> -4.651561785105243 </background_likelihood> <stream_only_likelihood> -113.713296588452295 -4.022403079983629 -3.501974246059814 </stream_only_likelihood> <search_likelihood> -3.082695565964225 </search_likelihood> Using SSE4.1 path Integral 0 time = 1233.598307 s Running likelihood with 84046 stars Likelihood time = 3.603997 s <background_integral1> 0.000212838144066 </background_integral1> <stream_integral1> 10.949244652008920 817.659233980863860 109.205496211738037 </stream_integral1> <background_likelihood1> -4.652624660762022 </background_likelihood1> <stream_only_likelihood1> -113.787381713235703 -4.023628756096747 -3.501600699887517 </stream_only_likelihood1> <search_likelihood1> -3.082856795761225 </search_likelihood1> Using SSE4.1 path Integral 0 time = 1239.927631 s Running likelihood with 84046 stars Likelihood time = 1.593017 s <background_integral2> 0.000212834447340 </background_integral2> <stream_integral2> 10.954161682689559 816.244744521691587 109.376219097210296 </stream_integral2> <background_likelihood2> -4.653054044135508 </background_likelihood2> <stream_only_likelihood2> -113.807643297739105 -4.021327776051136 -3.502784073758317 </stream_only_likelihood2> <search_likelihood2> -3.082891112561942 </search_likelihood2> Using SSE4.1 path Integral 0 time = 1250.308573 s Running likelihood with 84046 stars Likelihood time = 2.588594 s <background_integral3> 0.000212862165641 </background_integral3> <stream_integral3> 10.870168995888916 817.232504983257968 109.438116761323883 </stream_integral3> <background_likelihood3> -4.651197615823827 </background_likelihood3> <stream_only_likelihood3> -114.034937992900211 -4.022429172397606 -3.502372349440707 </stream_only_likelihood3> <search_likelihood3> -3.083007996963124 </search_likelihood3> Using SSE4.1 path Integral 0 time = 1236.596065 s Running likelihood with 84046 stars Likelihood time = 3.594462 s <background_integral4> 0.000212858052620 </background_integral4> <stream_integral4> 10.986189707954960 816.009265169384435 109.246791527447158 </stream_integral4> <background_likelihood4> -4.651493592344064 </background_likelihood4> <stream_only_likelihood4> -114.019642801570100 -4.021332873418171 -3.502477991411791 </stream_only_likelihood4> <search_likelihood4> -3.082910409934012 </search_likelihood4> 08:39:49 (86179): called boinc_finish(0) </stderr_txt> ]]> ##### NBODY build problem cmake ../milkywayathome_client -DBOINC_RELEASE_NAMES=ON -DSEPARATION=ON -DNBODY_OPENMP=OFF -DSEPARATION_OPENCL=OFF -DCMAKE_C_COMPILER=gcc49 -DCMAKE_CXX_COMPILER=clang -DNBODY=ON Scanning dependencies of target milkyway_nbody [100%] Building C object nbody/CMakeFiles/milkyway_nbody.dir/src/main.c.o /milkywayathome_client/nbody/src/main.c:205:29: warning: missing field 'verbose' initializer [-Wmissing-field-initializers] static NBodyFlags nbf = EMPTY_NBODY_FLAGS; ^ /milkywayathome_client/nbody/include/nbody.h:81:148: note: expanded from macro 'EMPTY_NBODY_FLAGS' #define EMPTY_NBODY_FLAGS { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } ^ /milkywayathome_client/nbody/src/main.c:525:32: warning: unused parameter 'numThreads' [-Wunused-parameter] static int nbSetNumThreads(int numThreads) ^ 2 warnings generated. [100%] Linking CXX executable ../bin/milkyway_nbody_1.62_amd64-unknown-freebsd ../lib/libnbody.a(nbody_caustic.c.o): In function `causticHaloAccel': /milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x2b2): undefined reference to `cpow' /milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x9a4): undefined reference to `cpow' /milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x10a7): undefined reference to `cpow' /milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x1780): undefined reference to `cpow' ../lib/libnbody.a(nbody_caustic.c.o): In function `f4': /milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x26c7): undefined reference to `cpow' ../lib/libnbody.a(nbody_caustic.c.o):/milkywayathome_client/nbody/src/nbody_caustic.c:(.text+0x292e): more undefined references to `cpow' follow c++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[2]: stopped in /build *** Error code 1 Stop. make[1]: stopped in /build *** Error code 1 Stop. make: stopped in /build |
©2024 Astroinformatics Group