Hi Franz,
When i created a sif file that uses the shared object of application code - OCwrapper.so (OCviaElmer.so), it could not read the OC modules. So, i could not proceed as it might require a greater effort for linking OpenCalphad in a FEM software.
OpenCalphad has already been linked with OpenPhase software(
http://www.OpenPhase.de), the latter being a FDM software. The ElmerSolver run of the following package produces the following error:
Code: Select all
ElmerSolver
ELMER SOLVER (v 8.1) STARTED AT: 2016/05/24 11:04:43
ParCommInit: Initialize #PEs: 1
WARNING:: MAIN: OMP_NUM_THREADS not set. Using only 1 thread.
MAIN:
MAIN: =============================================================
MAIN: ElmerSolver finite element software, Welcome!
MAIN: This program is free software licensed under (L)GPL
MAIN: Copyright 1st April 1995 - , CSC - IT Center for Science Ltd.
MAIN: Webpage http://www.csc.fi/elmer, Email elmeradm@csc.fi
MAIN: Version: 8.1 (Rev: 0ec5889, Compiled: 2016-02-22)
MAIN: =============================================================
MAIN:
MAIN:
MAIN: -------------------------------------
MAIN: Reading Model: 1d.sif
TEST CASE 1
Loading user function library: [Source]...[Source]
TEST CASE 1
Loading user function library: [Poisson]...[PoissonSolver_Init0]
Loading user function library: [OCwrapper]...[OCwrapper_Init0]
OCwrapper: cannot open shared object file: No such file or directory
OCwrapper.so: undefined symbol: __general_thermodynamic_package_MOD_gx
./OCwrapper: cannot open shared object file: No such file or directory
./OCwrapper.so: undefined symbol: __general_thermodynamic_package_MOD_gx
/home/username/elmer8/install/share/elmersolver/lib/OCwrapper: cannot open shared object file: No such file or directory
/home/username/elmer8/install/share/elmersolver/lib/OCwrapper.so: cannot open shared object file: No such file or directory
Do i need to describe the path of working OpenCalphad software when making the OCwrapper.so?
The OCASI application sample downloaded from
https://github.com/sundmanbo/opencalphad is also attached along with. The file TQ1-crfe.F90 is compiled with gfortran compiler to produce the executable ./tqex1.
Do you have any idea how ElmerSolver could not read the __general_thermodynamic_package_MOD_gx whereas an external fortran code through TQ1-crfe.F90 can read the same thing?
Yours Sincerely,
Anil Kunwar