Coder Social home page Coder Social logo

exmatex / coevp Goto Github PK

View Code? Open in Web Editor NEW
1.0 17.0 9.0 4.09 MB

Embedded ViscoPlasticity Scale-Bridging Proxy Application

License: Other

C++ 86.65% C 0.30% Makefile 0.86% Python 0.22% Jupyter Notebook 2.68% Protocol Buffer 0.08% Fortran 7.61% TeX 1.60%

coevp's Introduction

The subdirectories of this directory contain the files needed to build the CoEVP proxy application described in the specification document CoEVP.pdf. The constitutive models are contained in a library (cmlib.a) which is statically linked with LULESH. To build the library, link with LULESH and run, beginning in the directory containing this README file:

 make 

To build a minimal set of features one can use:

 make REDIS=no FLANN=no SILO=no TWEMPROXY=no LOGGER=no

which will enable building of the redis backend, the libflann based neighbor search and silo output files.

To use a system redis, libflann or libsilo use:

 make REDIS_LOC=/path/to/hiredis FLANN_LOC=/path/to/flann SILO_LOC=/path/to/silo

To build an mpi version of lulesh use:

 make COEVP_MPI=yes

To run lulesh use:

 LULESH/luslesh

and see use the "--help" option for help.

To run with distributed redis, please see Twemproxy.md

coevp's People

Contributors

gshipman avatar jmohdyusof avatar junghans avatar kbarros avatar louisvernon avatar milodorr avatar rspavel avatar suemni avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coevp's Issues

CoEVP and LULESH do not link on OS X

Compilation of CoEVP library succeeds but static library generation (ar) gives errors on OS X of this form:

...
ar: warning: MathUtilitiesSpecial.o truncated to MathUtilitiesSp
ar: warning: MemoryUtilities.o truncated to MemoryUtilities
ar: warning: ParallelBuffer.o truncated to ParallelBuffer.
ar: warning: AbstractStream.o truncated to AbstractStream.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcm.a(ApproxNearestNe) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcm.a(TimeRecorder.o) has no symbols
...

Then when attempting to link into LULESH, we see errors of this form:

Undefined symbols for architecture x86_64:
  "_freeReplyObject", referenced from:
      SingletonDB::push(unsigned __int128 const&, std::__1::vector<double, std::__1::allocator<double> > const&, unsigned long) in libcm.a(SingletonDB.o)
      SingletonDB::pull(unsigned __int128 const&) in libcm.a(SingletonDB.o)
      SingletonDB::pull_key(unsigned __int128 const&) in libcm.a(SingletonDB.o)
  "_redisCommand", referenced from:
      SingletonDB::push(unsigned __int128 const&, std::__1::vector<double, std::__1::allocator<double> > const&, unsigned long) in libcm.a(SingletonDB.o)
      SingletonDB::pull_data(unsigned __int128 const&) in libcm.a(SingletonDB.o)
      SingletonDB::SingletonDB() in libcm.a(SingletonDB.o)
      SingletonDB::~SingletonDB() in libcm.a(SingletonDB.o)
  "_redisConnect", referenced from:
      SingletonDB::SingletonDB() in libcm.a(SingletonDB.o)
  "_redisFree", referenced from:
      SingletonDB::~SingletonDB() in libcm.a(SingletonDB.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [lulesh] Error 1

This is all likely compatibility issues between g++ and clang. I don't know if it's worth the effort tho chase this down.

README needs work

Not hassling anyone. Just a reminder to myself to work on this at some point.

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.