Comments (5)
Hi,
I've just done a check of the framework with PETSc versions 3.7.5 and 3.7.6 - and cannot reproduce the error you have encountered. Also the petsc documentation indicates that the interface to PCMGSetGalerkin() is correct in LinearElasticity. So could you provide more information on your setup, i.e. what platform you use and how did the verification of your PETSc installation state (result of the test after compiling)?
Niels
from topopt_in_petsc.
I'm currently utilizing a recent clone from https://bitbucket.org/petsc/petsc in order to achieve cuda acceleration. the config command included:
./configure --download-mpich --with-cuda=1 --with-cusp=1 --with-thrust=1 --with-precision=double --with-clanguage=c
Compilation was successful and both test and streams worked at the end of compilation. I apologize for miss-attributing the version number.
from topopt_in_petsc.
I was able to find documentation on the function here: https://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/PCMG/PCMGSetGalerkin.html
from topopt_in_petsc.
Thanks for the clarification and thanks for the heads up regarding the change in method interface for the next version of PETSc. I will, however, wait with updating the code until the PETSc developers release a new version officially - but have added a comment in the README file stating the possible issues with using newest git branch. In case you have not already resolved your issue you should use the PCMGGalerkinType to PC_MG_GALERKIN_BOTH.
from topopt_in_petsc.
Has this error been fixed? I am seeing this same error for both LinearElasticity and PDEFilter come up on Ubuntu 18.04 using Petsc-11.4.1. I would greatly appreciate if someone can share how to fix it.
from topopt_in_petsc.
Related Issues (19)
- Restart files are not written to '-workdir' HOT 1
- PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
- Memory use for big models HOT 1
- bin2vtu problem
- Inlcude problem PETSc 12.xx
- Hardcoded nu & nlvls HOT 1
- makefile_ref
- Is that possible to use the PETSc-MMA with the overlapping Schwarz domain decomposition (DM) algorithm.
- TopOpt.h:4:10: fatal error: petsc.h:No such file or directory HOT 1
- Retrieve vtu file with bin2vtu results in 'Could not read header format' HOT 2
- What does ux、x stand for?
- Restart from previous design - without resuming MMA
- Parallel speedup
- xold in TopOpt.h/cc
- LinearElasticity.cc error HOT 2
- Problem with plotting HOT 1
- PETSc 3.11.3 error: cannot convert ‘PetscBool’ to ‘PCMGGalerkinType’ for argument ‘2’ to ‘PetscErrorCode PCMGSetGalerkin(PC, PCMGGalerkinType)’ HOT 3
- Terminate called after throwing an instance of 'std::bad_array_new_length' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from topopt_in_petsc.