pFUnit Icon


Unit testing framework for Fortran with MPI extensions

4.8 Stars (4)
35 Downloads (This Week)
Last Update:
Download pFUnit.tar.gz
Browse All Files
Windows Mac Linux



pFUnit is a Fortran testing framework created by developers from NASA and NGC TASC. pFUnit offers a convenient, lightweight mechanism for Fortran developers to create and run software tests that specify the desired behavior for a given piece of code. See the website or wiki for more information.

pFUnit Web Site


  • Unit Testing for Fortran
  • Support for Serial codes and Parallel codes using MPI and OpenMP
  • New! Now Supporting PGI Fortran 15.1!
  • Modern Fortran programming techniques, including object orientation
  • Easy-to-use preprocessor support for writing tests
  • Tested with GNU, Intel, NAG, and PGI Fortran as well as Open MPI and MPICH.
  • Builds with GNU Make and CMake.


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Very nice and powerful unit test framework. First (and only usable) choice if you need unit tests in modern Fortran. So I'ld suggest to use this for every new Fortran software. Support for MPI and OpenMP is included, but I didn't test this throughouly, yet. My rating is only 4 out of 5 stars because pFUnit doesn't work with all compilers/platforms correctly. This is due to compiler bugs in even the most recent Fortran compilers (concerning Fortran 2003/08 features). Of course the pFUnit developers are not the ones to blame here (they are doing a nice job!), but it is still a major drawback if your software needs to run on different platforms (e.g. a cluster, where you can't install your own compiler).

    Posted 02/14/2016
Read more reviews

Additional Project Details



Intended Audience

Science/Research, Developers

User Interface


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks