llnl / llnl/SAMRAI

make error

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
250
Forks
89
Avg merge
34m
Merged PRs (30d)
1

Description

Dear friends:
I configure SAMRAI with the following command:
./configure --with-F77=gfortran --with-boost=/home/ztdep/Downloads/boost_1_56_0/stage --with-petsc=/home/ztdep/Downloads/petsc-2.3.3-p16

but make gives me the followering errors:

./../../source/SAMRAI/solv/PETScAbstractVectorReal.C:140:57: error: ‘PetscLayoutCreate’ was not declared in this scope
ierr = PetscLayoutCreate(d_comm, &d_petsc_vector->map);
^
../../../source/SAMRAI/solv/PETScAbstractVectorReal.C:142:57: error: ‘PetscLayoutSetBlockSize’ was not declared in this scope
ierr = PetscLayoutSetBlockSize(d_petsc_vector->map, 1);
^
../../../source/SAMRAI/solv/PETScAbstractVectorReal.C:144:52: error: ‘PetscLayoutSetSize’ was not declared in this scope
ierr = PetscLayoutSetSize(d_petsc_vector->map, 0);
^
../../../source/SAMRAI/solv/PETScAbstractVectorReal.C:146:57: error: ‘PetscLayoutSetLocalSize’ was not declared in this scope
ierr = PetscLayoutSetLocalSize(d_petsc_vector->map, 0);
^

Contributor guide

Open the contributing guide

Research direction

Start with source/SAMRAI/solv/PETScAbstractVectorReal.C and the PETSc include configuration selected by the shown configure command. Check why the four PetscLayout declarations are unavailable with the configured PETSc path, then rerun make. Done means these errors are resolved and the build completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, hpc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.