[DuMuX] Flyspray Activity for Task 207 (Modularize non-isothermal capabilities)

2014-01-14 Thread DuMuX
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#207 - Modularize non-isothermal capabilities
User who did this - Alexander Kissinger (alexk)

--
I implemented a general non-isothermal equation (local thermodynamic 
equilibrium) which can be used with most implicit models (Richards, 1p, 1p2c, 
2p, 2p2c, 3p, 3p3c). 
In dumux-devel/dumux/implicit/nonisothermal you will find the implementation of 
the general non-isothermal equation. 
I also setup a model which is similar to the 1p2c model 
(dumux-devel/dumux/implicit/1p2cni) except that some additional property 
defaults and properties have been added (changes in 1p2cniproperties.hh and 
1p2cnipropertydefaults.hh) and a test case 
((dumux-devel/test/implicit/1p2cni/). In the test you simply have to state 
whether your problem type tag inherits from OnePTwoC or OnePTwoCNI in order to 
add the energy equation. 
These changes could easily be implemented in a similar manner in the other 
models.
2pni, 2p2cni, 3p3cni could then be deprecated.
--

More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=detailstask_id=207#comment398

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


Re: [DuMuX] SuperLU and UG version

2014-01-14 Thread Ali NOWAMOOZ
Dear DuMux and Christoph,

Thanks a lot for your help. We finally installed DuMux with all necessary
modules (using gcc4.8).

Just for Information : we also tried to install Dumux using Intel 2013 as
compiler. The installation was successful, however, we obtained these errors
while compiling test_box1pwithamg :


icpc -DHAVE_CONFIG_H -I. -I../../..
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-common-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-geometry-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-localfunctions-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-istl-2.2.1  -DENABLE_POSIX_CLOCK
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-pdelab-1.1.0
-I/software/MPI/openmpi/1.6.4_intel/include -pthread -DMPIPP_H
-DENABLE_MPI=1 -I/software/misc-libs/gmp/5.1.3_intel/include -DENABLE_GMP=1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-common-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-geometry-2.2.1 -DGRIDDIM=0
-DWORLDDIM=0 -DNOGRID -I/software/MPI/openmpi/1.6.4_intel/include -pthread
-DMPIPP_H -DENABLE_MPI=1
-I/rap/clumeq/apps/dumux-2.4.0-intel/ugrid/include/ug   -DENABLE_UG -DModelP
-I/software/MPI/openmpi/1.6.4_intel/include -pthread -DMPIPP_H
-DENABLE_MPI=1 -I/software/misc-libs/alugrid/1.52_intel/include
-I/software/misc-libs/alugrid/1.52_intel/include/serial
-I/software/misc-libs/alugrid/1.52_intel/include/duneinterface
-DENABLE_ALUGRID -I/software/misc-libs/alugrid/1.52_intel/include/parallel
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-localfunctions-2.2.1
-I/software/misc-libs/SuperLU/4.3_intel/include -DENABLE_SUPERLU
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-istl-2.2.1 -DENABLE_POSIX_CLOCK
-I/rap/clumeq/apps/dumux-2.4.0-intel/dune-pdelab-1.1.0   -DNDEBUG=1 -fPIC
-O3 -xHost -no-prec-div -fno-strict-aliasing -MT test_box1pwithamg.o -MD -MP
-MF .deps/test_box1pwithamg.Tpo -c -o test_box1pwithamg.o
test_box1pwithamg.cc
/rap/clumeq/apps/dumux-2.4.0-intel/dune-common-2.2.1/dune/common/fvector.hh(
20): warning #1224: #warning directive: The FieldVector class exports its
size by the enum member 'size'.  This behavior is deprecated.  In
the future, 'size' will be a method,  which puts it in compliance
with the stl conventions.  To enable the new behavior  (and get rid
of this warning), build your Dune with --enable-fieldvector-size-is-method.
If you do need the vector size as an
  enum, use 'dimension'.
  #warning The FieldVector class exports its size by the enum member 'size'.
\
   ^

/software/misc-libs/alugrid/1.52_intel/include/serial/parallel.h(43): error:
vector is not a template
  typedef vector  SmallObjectStream  BufferType;
  ^

/software/misc-libs/alugrid/1.52_intel/include/serial/parallel.h(43): error:
identifier SmallObjectStream is undefined
  typedef vector  SmallObjectStream  BufferType;
   ^

/software/misc-libs/alugrid/1.52_intel/include/parallel/gitter_pll_impl.h(15
94): error: incomplete type is not allowed
   return accessPllX ().lockedAgainstCoarsening () ;
  ^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
dinclude.hh(106): error: namespace ALUGridSpace has no member
ElementPllXIF_t
  typedef ALU3DSPACE ElementPllXIF_t PllElementType;
 ^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(718): error: incomplete type is not allowed
pair  ElementPllXIF_t *, int  p = it.item ().accessPllX
().accessOuterPllX () ;
^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(720): error: pointer to incomplete class type is not allowed
p.first-getAttachedElement(elems);
^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(736): error: incomplete type is not allowed
  pair  ElementPllXIF_t *, int  p = out.item ().accessPllX
().accessOuterPllX () ;
  ^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(738): error: pointer to incomplete class type is not allowed
  p.first-getAttachedElement(elems);
  ^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(811): error: incomplete type is not allowed
pair  ElementPllXIF_t *, int  p = it_-item ().accessPllX
().accessOuterPllX () ;
^

/rap/clumeq/apps/dumux-2.4.0-intel/dune-grid-2.2.1/dune/grid/alugrid/3d/alu3
diterators.hh(813): error: pointer to incomplete class type is not allowed
p.first-getAttachedElement(p2);
^

../../../dumux/implicit/common/implicitvelocityoutput.hh(28): catastrophic
error: cannot open source file unordered_map
  #include unordered_map

Best regards
Ali NOWAMOOZ

 

[DuMuX] DuMuX with Intel compiler

2014-01-14 Thread Christoph Grüninger
Hi Ali,
as the Intel compiler is not officially supported in Dune 2.2 and I
never tried one myself, it could be possible that you have to fix some
issues yourself.

From your output I would advise you to do:
- use --enable-fieldvector-size-is-method in your configure flags. This
will reduce the warnings and switch off the Dune 2.1 behavior. In Dune
2.3 this will be default.
- I am not sure about the errors from ALUGrid. The error message is not
very helpful without investigating the code more than I did.
- The catastrophic error about the missing unordered_map is related to
the not enabled C++11 support. You have to add -std=c++11 to the compile
flags. dune-common tries to detect this, but in Dune 2.2 only -std=c++0x
is tested that does not work with Intel. Either add -std=c++11 to the
CXX_FLAGS or replace the file m4/cxx0x_compiler.m4 with the one from
dune-common's master where the test is exted to -std=c++11.

When you use C++11 with ipcp, you might run into this bug:
https://dune-project.org/flyspray/index.php?do=detailstask_id=1228project=1
If this is the case, you can use the code from the bug tracker's last
comment (from Markus). I would like to get feedback, whether this solved
the bug for you.

Bye
Christoph

-- 
Une science n'était vraiment développée que quand elle
pouvait utiliser les mathématiques.(Paul Lafargue)
*
CMWR 2014: 10th - 13th June 2014 in Stuttgart
 Please visit www.cmwr14.de
*
___
Dumux mailing list
Dumux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux