xraypy / feff85exafs

Feff8L: Open Source theoretical EXAFS fitting standards
Other
15 stars 7 forks source link

quelch compiler warnings, versioning, call graphs #15

Closed bruceravel closed 10 years ago

bruceravel commented 10 years ago

This is another big pull request. The most significant change in this PR is that many dozens of compiler warnings (under gfortran) have been squelched. Most importantly, all warnings about unused variables or dummy parameters have been removed. Given that one of our goals is to replace use of common blocks with long argument lists so as to simplify the problem of writing a C wrapper, it seemed prudent to sanitize unused and dummy variable warnings.

Along the way, I removed lots of other compiler warnings. Currently, and under gfortran, there are still 41 warnings. Of these 18 pertain to uninitialized variables and 23 warn about possible reduction in precision due to implicit type changes.

All unit tests pass after these changes, both with and without SCF.

Among other changes: