Trilinos | Primary repository for the Trilinos Project
kandi X-RAY | Trilinos Summary
kandi X-RAY | Trilinos Summary
Website | Documentation | Mailing List | Packages. The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Trilinos
Trilinos Key Features
Trilinos Examples and Code Snippets
Community Discussions
Trending Discussions on Trilinos
QUESTION
platform:macOS 11.1
when I tried to configure Trilinos, I met a problem and I can not handle it. The following command is used to compile Trilinos:
...ANSWER
Answered 2021-Mar-12 at 16:04Xcode toolchains have no support for OpenMP. There is no technical reason other than that they want you to use the Apple specific APIs instead (which are obviously not equivalent).
To use OpenMP, you can use LLVM Clang/libc++/libopenmp which you should be able to install through Homebrew:
QUESTION
I have tried to run the stokesCavity example, which uses lid-driven boundary conditions for the flow. At the end of the code, the values in the top-right cell are compared with some reference values.
...ANSWER
Answered 2019-Sep-26 at 15:00When run as part of the test suite, this example only does 5 sweeps, and the numerical check is hard-wired for this. When you run the example in isolation, it does 300 sweeps and the solution is better (or at least differently) converged. There's nothing wrong with the example, other than it's not written in a very robust way. Thanks for asking about this; we'll try to clean up the example.
QUESTION
I downloaded FiPy months ago and this week I decided to test its parallel feature. So I tried to run the mesh1D.py example I got from github using
$ mpirun -np 2 python examples/diffusion/mesh1D.py
Two viewers pop up, each solving half of the problem like it was supposed to be. After the first problem is completed (explicit transient diffusion), it asks me to press return to proceed.
True
True
Explicit transient diffusion. Press <'return> to proceed...Explicit transient diffusion. Press <'return> to proceed...
But nothing happens when I press return. I know little about parallel programming, but is it normal that both processors are asking to press return? Shouldn't this part of the code be handled by only one core?
Some extra information: the mesh1D example works fine if I don't use mpi. And I have run the parallel.py test as well, which works correctly.
I'm using python 2.7.14, Trilinos 12.12.1, FiPy 3.2 and mpi4py 3.0.0
...ANSWER
Answered 2019-Sep-23 at 17:49This is a bug. Thanks for reporting it.
QUESTION
I want to install nalu with spack. My install failed with a cryptic error message:
...ANSWER
Answered 2018-Aug-02 at 19:51This error message means that Spack downloaded the yaml-cpp-0.5.3.tar.gz
tarball but the checksum for this tarball does not match the checksum listed in the package.py
.
In this case, what happened was that you downloaded yaml-cpp
, then GitHub changed their automatic tarball generation algorithm, then the checksum in the package.py
was updated upstream. See https://github.com/spack/spack/pull/6924 for more information.
To resolve your problem, either manually delete the tarball or run spack clean --downloads
to delete all cached tarballs.
P.S. Spack isn't currently very active on StackOverflow. You're better off asking on GitHub or Slack.
QUESTION
I'm reading/compiling an open source package Trilinos. The source code could be found on Github. I found the following strange grammar that leads to a compiling error with the Intel compiler (Windows) while gcc 4.9.x in Ubuntu works.
...ANSWER
Answered 2018-Apr-21 at 14:47The Intel compiler is emulating older VC++ versions which, as an extension (really!), have these alternate operators disabled.
You can get them back again by including the header.
Or just use !
instead of not
.
QUESTION
This is kind of an obscure question and I don't really expect anyone to answer, but I have this method that takes (and returns) an Eigen::SparseMatrix. I want to put it into the deal.ii library, is there a way to copy/convert a SparseMatrix from deal.ii/Eigen? I know you can copy deal.ii to Trilinos SparseMatrix something like:
...ANSWER
Answered 2018-Jan-27 at 14:49This question is old but maybe I can still help. I am one of the deal.II developers and I don't remember seeing this on the mailing list (which is much more active for these types of questions than SO).
A SparseMatrix
in deal.II does not store its own sparsity pattern: instead, it stores a pointer to a SparsityPattern
object. You'll need to loop over the eigen matrix twice: once to set up the SparsityPattern
and a second time to copy matrix values. Something like the following seems to work:
QUESTION
I've been trying to install a package called DAKOTA, which employs BOOST and Trilinos libraries which I'm already using in another program. For compiling and linking I'm using cmake, but I have not been able to pass the make step. It would be very helpful perhaps if you could point me out into some direction. Please find below the cmake command script I'm using to compile and link the libraries, and the process when it stops... As far as I have understood is the following. I'm using Boost and Trilinos library files used to build the other program to built the project DAKOTA. But I get an error when creating the library file liboptpp.so from Teuchos_BLAS.cpp.o, because it-s being used by libteuchosnumerics.a. I'm not sure if I'm understanding it correctly, but what I got from this is that I need to create a shared library and recompile the Teuchos_BLAS.cpp.o again using -fPIC. I tried including -fPIC in CMAKE_CXX_FLAGS as you may see below, and also -shared in CMAKE_SHARED_LINKER_FLAGS but this doesn't seem to work. In the past I also tried adding -fPIC in all flags from the CMakeCache.txt but also did not work.
Please let me know your understanding and suggestions. Thank you very much in advance,
CMAKE COMMAND ! /bin/bash ...ANSWER
Answered 2018-Jan-22 at 09:05I tried including -fPIC in CMAKE_CXX_FLAGS as you may see below, and also -shared in CMAKE_SHARED_LINKER_FLAGS but this doesn't seem to work.
Don't do this. Adding low-level compiler flags manually is almost always a bad idea in CMake.
The general approach to request a project to build as a dynamic library is to set the BUILD_SHARED_LIBS
option of the project:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Trilinos
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page