Forthreads Library

Forthreads Library

Here you can download the source code of forthreads, an almost complete Fortran 2003 wrapper for POSIX threads. The library allows Fortran programmers to use POSIX threads in a native and portable way. The library was developed by Omar Awile as part of his PhD project at the MOSAIC Group:

O. Awile. A Domain-Specific Language and Scalable Middleware for Particle-Mesh Simulations on Heterogeneous Parallel Computers. PhD thesis, Diss. ETH No. 20959, MOSAIC Group, ETH Zurich, 2013. (PDF)

The source code of the library is also available on github: https://github.com/ohm314/forthreads and is described in the following publication:

O. Awile and I. F. Sbalzarini. A pthreads wrapper for Fortran 2003. ACM Trans. Math. Softw., 40(3):19:1–19:15, 2014. (PDF)

In order to ensure financial support for our project and allow further development of this software, please cite above publication in all your documents and manuscripts that made use of this software. Thanks a lot!


IN NO EVENT SHALL THE MOSAIC GROUP BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE MOSAIC GROUP HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE MOSAIC GROUP SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE MOSAIC GROUP HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.