Hi Reno, It looks like all the Python related tests are failing. This is currently a flaw in our build setup when calling 'ctest' manually. It circumvents the dependency tracking of 'make' and doesn't trigger the conversion of the controlfiles to Python. Try to use the provided check targets instead:
For basic controlfile checks: make check Now TestSpectroscopy should be the only test failing (due to differences in the math library on macOS, we're aware of this issue). For all checks: make check-all To speed up the test execution, like you did by passing '-j4' to 'ctest', you can instead add the option '-DTEST_JOBS=4' to your 'cmake' command. Hope this helps. Cheers, Oliver > On 9 Oct 2020, at 05:39, Reno Choi <renoc...@gmail.com> wrote: > > Hello, > > I've recently compiled the latest ARTS from GitHub and found many errors from > CTEST. > > The ARTS are installed on my MacBook Pro, with the following environment, > • Catalina OSX v.10.15.7 with the latest Xcode 12.0.1 (12A7300) > • gcc/g++/gfortran 10.2.0 from Homebrew* > • Anaconda3 > • MecTex > • and, all prerequisites shown in README.md > * Add additional library and include path for the compiler to find the system > headers and libraries. > >export > >LDFLAGS="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" > >export > >CPPFLAGS="-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include" > > For cmake, > > > cmake -DARTS_XML_DATA_PATH=/Users/reno/Work/arts-xml-data-2.2.5 > > -DWITH_HITRAN2008=0 -DENABLE_FORTRAN=1 > > -DCMAKE_Fortran_COMPILER=/usr/local/Cellar/gcc/10.2.0.reinstall/bin/gfortran-10 > > -DENABLE_TMATRIX_QUAD=0 > > -DCMAKE_C_COMPILER=/usr/local/Cellar/gcc/10.2.0.reinstall/bin/gcc-10 > > -DCMAKE_CXX_COMPILER=/usr/local/Cellar/gcc/10.2.0.reinstall/bin/g++-10 > > -DENABLE_NETCDF=1 -DFASTWIGNER=1 .. > > The cmake results are attached in 'arts_cmake_results.txt', which was > successful. Then, went for make, > > > make -j9 > > The screen capture are in 'arts_compile_results.txt'. The executable files > were generated, whie with a number of warnings (~100). > > > ./arts -v > arts-2.3.1287 (git: 60279fd2) (compiled Fri Oct 9 01:07:03 2020) > Compiler: GNU 10.2.0 (/usr/local/Cellar/gcc/10.2.0/bin/g++-10) > Compile flags: -fvisibility=hidden -fvisibility-inlines-hidden > -ftemplate-depth-1024 -fopenmp -W -Wall -Wshadow -Wconversion > -Wno-sign-conversion -Wno-unknown-pragmas -Wno-strict-overflow -O2 -g > Features in this build: > Numeric precision: double > OpenMP support: enabled > Documentation server: enabled > Zipped XML support: enabled > NetCDF support: enabled > Fortran support: enabled (gfortran-10) > Legacy Fortran Disort:disabled > RT4 support: enabled > FASTEM support: enabled > OEM support: enabled > MPI support for OEM: disabled > Refice support: enabled > Tmatrix support: enabled (double-precision) > Hitran Xsec support: enabled (experimental) > Include search paths: > . > /Users/reno/Work/arts/controlfiles > Data searchpaths: > . > > Now, I ran CTEST and results showed 108 tests failed out of 225. The > screenshot of CTEST results can be found in "arts_ctest_results.txt". I > carried out a single CTEST to see in detail, > > (base) reno@Renos-MBP build % ctest -R TestForloop > Test project /Users/reno/Work/arts/build > Start 10: arts.ctlfile.fast.artscomponents.helpers.TestForloop > 1/2 Test #10: arts.ctlfile.fast.artscomponents.helpers.TestForloop .......... > Passed 0.04 sec > Start 11: python.arts.ctlfile.fast.artscomponents.helpers.TestForloop > 2/2 Test #11: python.arts.ctlfile.fast.artscomponents.helpers.TestForloop > ...***Failed 0.03 sec > 50% tests passed, 1 tests failed out of 2 > Total Test time (real) = 0.09 sec > The following tests FAILED: > 11 - python.arts.ctlfile.fast.artscomponents.helpers.TestForloop (Failed) > Errors while running CTest > > Nonetheless, I wondered if any example controlfiles were working. I tried > "TestAbs.art" and it seemed ok to me (please, see attached > "arts_TestAbs.arts_results.txt"). > > So far, I am curious if my compilation was successful or not. What does 52% > of CTEST fails mean? Am I missing anything at all? > > I wonder if anyone in this community has similar experience or comments to > share. > > Regards, > Reno > > > -- > Reno K.-Y. Choi, PhD > > M. (+82 0)10 4570 9066 > O. (+82 0)64 780 6618 > M. (+44 0)7946 459 108 > <arts_ctest_results.txt><arts_compile_results.txt><arts_cmake_results.txt><arts_TestAbs.arts_results.txt>_______________________________________________ > arts_users.mi mailing list > arts_users.mi@lists.uni-hamburg.de > https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ arts_users.mi mailing list arts_users.mi@lists.uni-hamburg.de https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_users.mi