Cool. Too bad I don't understand Chinese. Is it hp-FEM?
Ondrej
Ondrej
One can download from here:
http://lsec.cc.ac.cn/phg/download.htm
it configured but then "qmake all" failed (I just followed the
instructions in the package --- in English:).
So you see, why we need femhub. If there was a spkg packages for phg
and all its dependencies, then all I had to do was
./spd -i ... # for all the dependencies
./spd -i phg.spkg
and that's it. Btw, phg is small, it's just 1.8MB, so we can easily
include it. And we'll need most of the dependencies it uses anyway.
There is a manual in doc/manual.pdf, but it's in Chinese... But if you
look at least at the examples, they seem to have a nice assembly
procedure, exported to the user, but they only put there an example of
a poisson equation, so that's not so much interesting. However, if you
look into the examples/ directory, they have examples there for
navier-stokes, maxwell, etc.
I was looking at their error estimators in maxwell-eigen.c, they use
the face jumps, so I think it's the same as in libmesh.
Ondrej
Ok, that INSTALL file is old. Here are the current instructions:
http://lsec.cc.ac.cn/phg/document.htm
and it works. All the examples compile. Then if I run them, it fails:
$ ./maxwell-eigen
[raven:20548] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this
user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c
at line 269
[raven:20548] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this
user in file ../../../../../../orte/mca/ess/singleton/ess_singleton_module.c
at line 143
[raven:20548] [[INVALID],INVALID] ORTE_ERROR_LOG: A system-required
executable either could not be found or was not executable by this
user in file ../../../orte/runtime/orte_init.c at line 132
--------------------------------------------------------------------------
It looks like orte_init failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems. This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):
orte_ess_set_name failed
--> Returned value A system-required executable either could not be
found or was not executable by this user (-127) instead of
ORTE_SUCCESS
--------------------------------------------------------------------------
--------------------------------------------------------------------------
It looks like MPI_INIT failed for some reason; your parallel process is
likely to abort. There are many reasons that a parallel process can
fail during MPI_INIT; some of which are due to configuration or environment
problems. This failure appears to be an internal failure; here's some
additional information (which may only be relevant to an Open MPI
developer):
ompi_mpi_init: orte_init failed
--> Returned "A system-required executable either could not be found
or was not executable by this user" (-127) instead of "Success" (0)
--------------------------------------------------------------------------
*** An error occurred in MPI_Init
*** before MPI was initialized
*** MPI_ERRORS_ARE_FATAL (your MPI job will now abort)
[raven:20548] Abort before MPI_INIT completed successfully; not able
to guarantee that all other processes were killed!
But I believe this could be fixed. Interesting, looking forward to try it out.
Ondrej