Installationerror in ubuntu 14.04

Submitted by RobertG on Tue, 03/24/2015 - 14:45

Hello,
I have already installed LIGGGHTS, OpenFOAM and CFDEM successfully and now I try to install ParScale.
I have downloaded the necessary files and programms and put them it the thirtParty-directory of ParScale.
I have set an fitted the environmental variables and I put ParScale in the LIGGGHTS directory, as the variables say.
When I try to compile ParScale, I get always the error message:

In file included from coupling_model_liggghts.cpp:39:0:
coupling_model_liggghts.h:51:31: fatal error: fix_pascal_couple.h: Datei oder Verzeichnis nicht gefunden
#include "fix_pascal_couple.h"
^
compilation terminated.
In file included from style_coupling_model.h:3:0,
from coupling.cpp:45:
coupling_model_liggghts.h:51:31: fatal error: fix_pascal_couple.h: Datei oder Verzeichnis nicht gefunden
#include "fix_pascal_couple.h"
^
compilation terminated.
make[1]: *** [coupling_model_liggghts.o] Fehler 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
make[1]: *** [coupling.o] Fehler 1
In file included from coupling_model_json.h:48:0,
from coupling_model_json.cpp:40:
coupling_model.h: In member function ‘virtual int* PASCAL_NS::CouplingModel::get_external_map(int&)’:
coupling_model.h:81:51: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int* get_external_map(int &length) {};
^
In file included from container_general.h:47:0,
from container_scalar.h:46,
from container.h:46,
from input.h:47,
from coupling_model_json.cpp:41:
container_base.h: In member function ‘void PASCAL_NS::ContainerBase::id(const char*)’:
container_base.h:71:23: warning: parameter ‘_id’ set but not used [-Wunused-but-set-parameter]
inline void id(const char *_id)
^
In file included from coupling_model_none.h:47:0,
from coupling_model_none.cpp:40:
coupling_model.h: In member function ‘virtual int* PASCAL_NS::CouplingModel::get_external_map(int&)’:
coupling_model.h:81:51: warning: no return statement in function returning non-void [-Wreturn-type]
virtual int* get_external_map(int &length) {};
^
coupling_model_json.cpp: In member function ‘virtual bool PASCAL_NS::CouplingModelJSON::fill_container_from_coupling(PASCAL_NS::ContainerBase&) const’:
coupling_model_json.cpp:133:17: warning: unused variable ‘id’ [-Wunused-variable]
const char *id = container.prop().id();
^
In file included from container_general.h:47:0,
from container_scalar.h:46,
from container.h:46,
from input.h:47,
from coupling_model_json.cpp:41:
container_base.h: At global scope:
container_base.h:106:30: warning: inline function ‘virtual int PASCAL_NS::ContainerBase::lenVecUsed()’ used but never defined [enabled by default]
virtual inline int lenVecUsed() = 0;
^
make: *** [fedora_fpic] Fehler 2

I discovered, that it is the sundias thirdParty package, that causes the problems. Normaly it should be compiled with the src/refreshLibrary.sh command, but it causes an Error.
I compiled sundias manually (and succesfully in the directory thirdParty/sundials-2.5.0/../sundial) and changed the enveromental variable from /sundials-2.5.0 to /sundials.
But I get still the same error ...

I hope some one can help me

Best regards
RobertG

AttachmentSize
Plain text icon refreshlibrary.txt69.5 KB
ckloss's picture

ckloss | Fri, 04/03/2015 - 10:09

Hi Robert,

you'll need to have the PARSCALE package install by "make yes-PASCAL" in the LIGGGHTS src directory
Hope this helps!

Christoph

mhdhassan | Fri, 11/09/2018 - 14:06

Hi @ckloss,
How do I know if PASCAL installed in src/LIGGGHTS??