Coder Social home page Coder Social logo

CDash Server about datatransferkit HOT 19 CLOSED

ornl-cees avatar ornl-cees commented on August 22, 2024
CDash Server

from datatransferkit.

Comments (19)

dalg24 avatar dalg24 commented on August 22, 2024

I created a new project on the CDash server I run on my computer

The url is http://qdi-imac.ornl.gov/~qdi/CDash/index.php?project=DTK

Please register as a new user and I will grant you access

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

I was able to register and log in. Next step is to add the code to the server and pull from github. I am OK with the CDash failing as long as we can get it set up before Damien heads to France.

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

I added you as an admin on the server

you should be able to log in and see the project now

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

this need to be added to the ctest/cmake configuration file

SET(CTEST_DROP_METHOD "http")
SET(CTEST_DROP_SITE "qdi-imac.ornl.gov")
SET(CTEST_DROP_LOCATION "/~qdi/CDash/submit.php?project=DTK")
SET(CTEST_DROP_SITE_CDASH TRUE)
CTEST_SUBMIT()

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

SET(REQUIRED_ENV_VARIABLES
DTK_URL
DTK_SOURCE_DIR
DTK_BUILD_DIR
DTK_BUILD_TYPE
)
FOREACH(VAR ${REQUIRED_ENV_VARIABLES})
IF(NOT DEFINED ENV{${VAR}})
MESSAGE(FATAL_ERROR "Undefined ${VAR} environment variable")
ENDIF()
ENDFOREACH()

SET(CTEST_PROJECT_NAME "DTK")
SET(CTEST_NIGHTLY_START_TIME "21:00:00 EST")
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 500)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 500)

SET(CTEST_SOURCE_DIRECTORY "$ENV{DTK_SOURCE_DIR}")
SET(CTEST_BINARY_DIRECTORY "$ENV{DTK_BUILD_DIR}")
#SET(CTEST_UPDATE_COMMAND "git pull $ENV{DTK_URL}")
#SET(CTEST_CONFIGURE_COMMAND "cmake $ENV{DTK_SOURCE_DIR}")
#SET(CTEST_BUILD_COMMAND "make -j2")

EXEC_PROGRAM("hostname" ARGS OUTPUT_VARIABLE HOSTNAME)
SET(CTEST_SITE ${HOSTNAME})
SET(CTEST_BUILD_NAME "DTK-$ENV{DTK_BUILD_TYPE}")

FILE(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt")

CTEST_START("Nightly")
CTEST_UPDATE()
CTEST_CONFIGURE()
CTEST_BUILD()
CTEST_TEST()

SET(CTEST_DROP_METHOD "http")
SET(CTEST_DROP_SITE "qdi-imac.ornl.gov")
SET(CTEST_DROP_LOCATION "/~qdi/CDash/submit.php?project=DTK")
SET(CTEST_DROP_SITE_CDASH TRUE)
CTEST_SUBMIT()

MESSAGE("DONE")

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

here is a template for the dtk_ctest_config file

run test with
$ ctest -S dtk_ctest_config

DTK_BUILD_TYPE is "compiler"-"mode"
example gcc483-opt or clang-dbf

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

Damien and I set up initial CDash build for manual testing from my laptop and reporting to the server. This afternoon we will set up a cron job on Damien's machine for nightly testing.

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

Damien has nightly debug and release testing with clang compilers on local machine. Current end of the day set for 9pm. Damien will switch to 12am.

Next: cron job setup. look for results tomorrow.

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

done

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

tests did run
they show up in previous day because I mixed things up with time zone
I fixed it (or at least I think so :)

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

I have noticed that the test dependency on the adapters/BasicGeometry package is not being picked up in the CDash. Is this due to some settings? In the CMake setup this dependency is listed as required.

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

Damien - can you add this to the configure script for the testing?

-D Trilinos_ENABLE_DataTransferKitBasicGeometryAdapters:BOOL=ON

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

I added the line in the configuration script.
Launching the tests now...

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

Looks like there are issues with cmake/tribits in picking up the optional test dependency. Not sure if this has to do with my setup or the build itself. I will talk to Ross about this next week when I see him in Albuquerque. For now, everything is on and I have made the BasicGeometryAdapters sub package an explicit dependency of the Operators sub package.

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

Lets put the new Travis CI work here. We will close when that is setup.

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

c.f. PR #37

from datatransferkit.

dalg24 avatar dalg24 commented on August 22, 2024

New server is hosted here

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024
  • Will explore other options besides CDash to display results from CI.
  • Want to target a single docker build for CI with all adapters.
  • Primary task is to reduce build times.

from datatransferkit.

sslattery avatar sslattery commented on August 22, 2024

@dalg24 Can we close this? Are you happy with docker/Travis/Jenkins or should we leave this open for more work?

from datatransferkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.