Skip to content

Configure Fluidity in a separate build directory #219

@espinozahg

Description

@espinozahg

I am trying to configure fluidity in a separate build directory using the command:
../fluidity-4.1.15/configure --prefix=/home/username/fluidity-4.1.15 --srcdir=../fluidity-4.1.15 --enable-sam ;
but it cannot find petsc_makefile
I propose to add $srcdir/ to all references of petsc_makefile and petsc_makefile_old in lines 12641 and 12645 of configure file.
Adding that resolves that error but appears another downstream the configure file in line 12814
which can be resolved modifying lines 12646 and 12647 to
CPPFLAGS="$CPPFLAGS $PETSC_INCLUDE_FLAGS -I$srcdir/include/"
FCFLAGS="$FCFLAGS $PETSC_INCLUDE_FLAGS -I$srcdir/include/"
Adding that resolves that error but appears another downstream the configure file in line 14243 which I dont know how to fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions