Git Product home page Git Product logo

Comments (8)

jpfleblanc avatar jpfleblanc commented on July 28, 2024

log suggests crash is due to resume failure.

script has text '--resume > log' which should be '--resume 1 > log'

Regardless, code SHOULD respond that --resume needs an argument.

Cannot reproduce error. So far checked revision from november ( 273428d )

Will check updated version.

from opendf.

jpfleblanc avatar jpfleblanc commented on July 28, 2024

Appears to work on updated opendf - linked against ALPSCore 0.5.4

Could be change in alpscore causing issue. Will followup.

Workaround - Install ALPSCore 0.5.4 and compile opendf linked to that, see if error vanishes.

from opendf.

jpfleblanc avatar jpfleblanc commented on July 28, 2024

works on ALPSCore jan 5th revision. checking most up to date.

from opendf.

jpfleblanc avatar jpfleblanc commented on July 28, 2024

Updated ALPSCore appears to work.

I'm not happy now that I look at the log with seeing the mention of 'pthreads'. Probably something in alps is using mpi, and opendf was not compiled with MPI.

Recommend installing ALPSCore with minimal options, MPI enabled, and compile opendf ALSO with mpicxx compiler.

Example script:

export ALPSCore_DIR=/home/jpfleblanc/alps_core/ALPSCore_updated/install
CC=mpicc CXX=mpicxx cmake
-DCMAKE_INSTALL_PREFIX=${ALPSCore_DIR}
-DENABLE_MPI=ON
-DCMAKE_CXX_FLAGS="-DNDEBUG -DBOOST_DISABLE_ASSERTS -DALPS_GF_DEBUG"
-DCMAKE_BUILD_TYPE="Release" ..

and then compile opendf

CC=mpicc CXX=mpicxx cmake -DALPSCore_DIR=/home/jpfleblanc/alps_core/ALPSCore_updated/install/share/ALPSCore/ -DCMAKE_INSTALL_PREFIX=/home/jpfleblanc/alps_core/opendf_debug/opendf/install/ -DCMAKE_BUILD_TYPE=RELEASE ..

Please let me know if this is not the issue.

from opendf.

aeantipov avatar aeantipov commented on July 28, 2024

from opendf.

DalInar avatar DalInar commented on July 28, 2024

I did compile both ALPSCore and OpenDF with the same mpicc and mpicxx. Here's exactly what I did:

ALPSCore:
HDF5_ROOT=/u/shared/ALPSCore_stuff/software/install/ CC=mpicc CXX=mpicxx cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/u/shared/ALPSCore_stuff/install/ -DCMAKE_CXX_FLAGS="-DNDEBUG -DBOOST_DIABLE_ASSERTS -DALPS_GF_DEBUG" -DBOOST_ROOT=/u/shared/ALPSCore_stuff/software/install/ -DBoost_NO_SYSTEM_PATHS=ON -DBoost_NO_BOOST_CMAKE=ON -DENABLE_MPI=ON ..
make
make install

OpenDF:
HDF5_ROOT=/u/shared/ALPSCore_stuff/software/install/ CC=mpicc CXX=mpicxx cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/u/shared/ALPSCore_stuff/install/ -DALPSCore_DIR=/u/shared/ALPSCore_stuff/install/share/ALPSCore/ -DEIGEN3_INCLUDE_DIR=/u/shared/ALPSCore_stuff/software/install/include/eigen3 -DFFTW_ROOT=/u/shared/ALPSCore_stuff/software/install -DCMAKE_CXX_FLAGS="-DNDEBUG -DBOOST_DIABLE_ASSERTS -DALPS_GF_DEBUG" ..
make
make install

Running OpenDF:
/u/shared/ALPSCore_stuff/install/bin/hub_df_square_nnn --input qmc_output.h5 --df_sc_cutoff 1.0e-8 --df_sc_iter 1200 --df_sc_mix 0.2 --fluct_diag 0 --nbosonic 32 --add_lattice_bubble 0 --mu 0.375 --tp 0.0 --resume 1

But this gives me the same seg fault error. Any other ideas for what to try / information I could give you guys to identify the problem? (James, this is all on Shakuras, in case you want to try it out yourself.)

from opendf.

jpfleblanc avatar jpfleblanc commented on July 28, 2024

from opendf.

DalInar avatar DalInar commented on July 28, 2024

After carefully recompiling OpenDF and all of its dependencies, the problem seems to have gone away. As you said, I had probably just used a different compiler for one of the dependencies.

from opendf.

Related Issues (5)

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.