[petsc-dev] Make libs makes ./$PETSC_ARCH

Satish Balay balay at mcs.anl.gov
Tue Jun 30 16:46:33 CDT 2020


I'm not sure why it was written this way. Likely PETSC_DIR was not available in some usage?

The makefiles went through reorg since then - so perhaps there isn't any issue with using ${PETSC_DIR}/${PETSC_ARCH}/tests/testfiles

https://gitlab.com/petsc/petsc/-/merge_requests/2934

Satish

On Tue, 30 Jun 2020, Jacob Faibussowitsch wrote:

> Hello All,
> 
> To build petsc from anywhere I always use “make libs”, but I recently discovered that this makes a $PETSC_ARCH/ folder in the current directory that includes tests/testfiles. Testfiles is completely empty, and doesn’t seem to do anything. I’ve been spamming this around my machine over the past few months, resulting in A LOT of these arch folders littered around the place.
> 
> I’m wondering if this is not a bug in the make recipe? Should it be ${PETSC_DIR}/${PETSC_ARCH}/tests/testfiles instead of ./${PETSC_ARCH}/tests/testfiles?
> 
> libs: ${PETSC_DIR}/${PETSC_ARCH}/lib/petsc/conf/files ./${PETSC_ARCH}/tests/testfiles <-------------------------------
>         + at cd ${PETSC_DIR} && MAKEFLAGS="-j$(MAKE_NP) -l$(MAKE_LOAD) $(MAKEFLAGS)" ${OMAKE_PRINTDIR} -f gmakefile ${MAKE_PAR_OUT_FLG} V=${V} libs
> 
> Best regards,
> 
> Jacob Faibussowitsch
> (Jacob Fai - booss - oh - vitch)
> Cell: (312) 694-3391
> 
> 


More information about the petsc-dev mailing list