Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Compilation fails on Cloudbees #14

Open
galexv opened this issue Feb 27, 2018 · 12 comments
Open

[CI] Compilation fails on Cloudbees #14

galexv opened this issue Feb 27, 2018 · 12 comments

Comments

@galexv
Copy link
Contributor

galexv commented Feb 27, 2018

...apparently because it needs more than 1GB of memory:

[  4%] Building CXX object CMakeFiles/alpscore_cthyb.dir/src/solver_real.cpp.o
/home/jenkins/openmpi-1.10.1/bin/mpic++   -DUSE_QUAD_PRECISION -Dalpscore_cthyb_EXPORTS -I/scratch/jenkins/workspace/cthyb-alpscore-devel/build -I/scratch/jenkins/workspace/cthyb-alpscore-devel -I/scratch/jenkins/workspace/cthyb-alpscore-devel/include -I/scratch/jenkins/workspace/cthyb-alpscore-devel/test -isystem /home/jenkins/boost_1_60_0_b1/include -isystem /home/jenkins/eigen-eigen-5a0156e40feb -isystem /scratch/jenkins/workspace/cthyb-alpscore-devel/ALPSCore/install/include -isystem /home/jenkins/hdf5-1.8.13/include  --param ggc-min-expand=20 --param ggc-min-heapsize=32768 -DALPS_GF_DEBUG -g -fPIC   -std=gnu++11 -o CMakeFiles/alpscore_cthyb.dir/src/solver_real.cpp.o -c /scratch/jenkins/workspace/cthyb-alpscore-devel/src/solver_real.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [CMakeFiles/alpscore_cthyb.dir/src/solver_real.cpp.o] Error 4
make[2]: Leaving directory `/scratch/jenkins/workspace/cthyb-alpscore-devel/build'
make[1]: *** [CMakeFiles/alpscore_cthyb.dir/all] Error 2
make[1]: Leaving directory `/scratch/jenkins/workspace/cthyb-alpscore-devel/build'
make: *** [all] Error 2
-26.30user 2.44system 0:29.91elapsed 96%CPU (0avgtext+0avgdata 908644maxresident)k
360120inputs+36889outputs (41001major+283515minor)pagefaults 0swaps
Build step 'Execute shell' marked build as failure

@shinaoka : Shall we disable the Jenkins build for now?
(We have discussed this issue in person, so feel free to close as [wontfix].)

@shinaoka
Copy link
Collaborator

shinaoka commented Feb 27, 2018

How about going to Travis?
Are there any other options?

@galexv
Copy link
Contributor Author

galexv commented Feb 28, 2018

Yes, sure, let's put it to Travis.

@shinaoka
Copy link
Collaborator

It's time to move to Travis.
I'm now studying the configuration file for ALPSCore.
https://github.com/ALPSCore/ALPSCore/blob/master/.travis.yml

Do you run two tests with/without MPI?

env:
  - ENABLE_MPI=ON ALPS_CC=mpicc ALPS_CXX=mpic++
  - ENABLE_MPI=OFF

@egull
Copy link
Contributor

egull commented Mar 20, 2018

Igor Krivenko is the one who set it up – can I get him involved?

@shinaoka
Copy link
Collaborator

Yes! I am also studying his nice script for pomerol2triqs...

https://github.com/krivenko/pomerol2triqs/blob/master/.travis.yml

@shinaoka
Copy link
Collaborator

shinaoka commented Mar 20, 2018

I've created a branch named "travis" and committed my first attempt. I will come back tomorrow...
Any help will be welcomed!

@galexv
Copy link
Contributor Author

galexv commented Mar 20, 2018

@shinaoka

Do you run two tests with/without MPI?

env:
  - ENABLE_MPI=ON ALPS_CC=mpicc ALPS_CXX=mpic++
  - ENABLE_MPI=OFF

Yes. This creates 2 TravisCI runs, with the corresponding sets of environment variables. One set results in compilation with MPI and the other one without. See https://docs.travis-ci.com/user/languages/cpp/#Build-Matrix and https://docs.travis-ci.com/user/environment-variables/#Defining-Multiple-Variables-per-Item

@shinaoka
Copy link
Collaborator

Thank you. I made it.

Anyway, ALPSCore/CT-HYB requires MPI.
So, we should test clang, gcc with MPI.

Could you review my commits? If it's OK, let us marge it into master.

@shinaoka
Copy link
Collaborator

And, should we deactivate Jenkins for CT-HYB? Error messages may be annoying to people in the ALPSCore developer mailing list.

@galexv
Copy link
Contributor Author

galexv commented Mar 20, 2018

If all CT-HYB builds require MPI, the TravisCI script can be slightly simplified. I can do it.

And, should we deactivate Jenkins for CT-HYB?

Ok. Done.

@shinaoka
Copy link
Collaborator

shinaoka commented Mar 20, 2018

It would be nicer to have automated tests with Intel C++ on Travis CI.
I found some script for this purpose (we may need a incense).
Have you already discussed this issue at Michigan?

https://github.com/nemequ/icc-travis

@egull
Copy link
Contributor

egull commented Mar 20, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants