ForestClaw / forestclaw

Quadtree/octree adaptive PDE solver based based on p4est.
http://www.forestclaw.org
BSD 2-Clause "Simplified" License
58 stars 22 forks source link

distcheck error with f90 modules #106

Closed donnaaboise closed 6 years ago

donnaaboise commented 8 years ago

Originally reported by: Donna Calhoun (Bitbucket: donnaaboise, GitHub: donnaaboise)


Just got this error when building a distribution ....

#!bash

w/2d/sphere/.deps src/.deps src/mappings/.deps src/solvers/fc2d_clawpack4.6/.deps src/solvers/fc2d_clawpack5/.deps src/solvers/fc2d_dummy/.deps
rm -f Makefile
ERROR: files left in build directory after distclean:
./amr_module.mod
Makefile:4388: recipe for target 'distcleancheck' failed
gmake[1]: *** [distcleancheck] Error 1
gmake[1]: Leaving directory '/Users/calhoun/projects/ForestClaw/code/forestclaw-build-distcheck/forestclaw-0.1.2677-8afd-dirty/_build/sub'
Makefile:4315: recipe for target 'distcheck' failed
gmake: *** [distcheck] Error 1

It is an annoying module problem. Doesn't seem to affect the build, but distcheck cannot clean up.


donnaaboise commented 6 years ago

Fixed in configure updates?

donnaaboise commented 6 years ago

Check top level Makefile.am - Added : Line rm -f amr_module.mod

Copy clean-local: target to other make files. Add more as needed.

donnaaboise commented 6 years ago

We know how to fix this. Now add more module files to clean-local to top-level Makefile.am file

clean-local:
    rm -f ChangeLog *vtu *.visit
    rm -f amr_module.mod