0% found this document useful (0 votes)
129 views2 pages

Distributing Absoft Compiled Applications

This document discusses how to distribute Absoft Pro Fortran applications to other users. It provides tables listing the dynamic link libraries (DLLs) required for different types of applications compiled with Absoft Pro Fortran. A new option in AbsoftTools and on the command line allows these DLLs to be automatically copied to the executable's directory when building an application, so it can run independently of the Absoft installation.

Uploaded by

young june kim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views2 pages

Distributing Absoft Compiled Applications

This document discusses how to distribute Absoft Pro Fortran applications to other users. It provides tables listing the dynamic link libraries (DLLs) required for different types of applications compiled with Absoft Pro Fortran. A new option in AbsoftTools and on the command line allows these DLLs to be automatically copied to the executable's directory when building an application, so it can run independently of the Absoft installation.

Uploaded by

young june kim
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Introduction

Applications built with Absoft Pro Fortran for Windows make use of additional dynamic link libraries
(DLLs) during program execution. Some of these DLLs are included with every Windows system and
others are specific to Absoft Pro Fortran applications. If you want to distribute an application compiled
with Pro Fortran to other users or run it outside of the AbsoftTools environment, you will need to make
these Absoft specific DLLs available along with your executable program. The simplest method of
doing this is to copy the required DLL files into the same directory as your executable program.

Starting with Absoft Pro Fortran 2021 (v21.0), there is an AbsoftTools project setting and command
line option that will automatically copy the required DLLs into the directory where the executable
program is created. In the AbsoftTools Project Options Target page, check the “Deploy DLLs” box to
activate this behavior. For command line compilation, add the -deploy-dlls option to the
command that builds the final executable program.

Note: in the following tables ABSOFT_DIR represents the directory where Absoft Pro Fortran is
installed on your system. For example, if Absoft Pro Fortran 2021 is installed into C:\Absoft21.0,
ABSOFT_DIR refers to C:\Absoft21.0.

Standard Absoft Runtime DLLs


This table gives the DLLs required for applications built with “Use Absoft DLL Runtime Libs” (-usedll
on the command line)

32 Bit 64 Bit
ABSOFT_DIR\bin\af77mathdll.dll ABSOFT_DIR\bin64\af77mathdll.dll
ABSOFT_DIR\bin\af90mathdll.all ABSOFT_DIR\bin64\af90mathdll.dll
ABSOFT_DIR\bin\afiodll.dll ABSOFT_DIR\bin64\afiodll.dll

Parallel, OpenMP, and IMSL Applications


This table gives the DLLs required for applications built with “Auto-Parallelization” (-apo on the
command line) or “Enable OpenMP 3.0” (-openmp on the command line) or linked to the IMSL
libraries

32 Bit 64 Bit
ABSOFT_DIR\bin\libgomp.dll ABSOFT_DIR\bin\libgompx64.dll
ABSOFT_DIR\bin\pthreadVC2.dll ABSOFT_DIR\bin\pthreadVC2_64.dll
Absoft Window Environment (AWE) Applications
This table gives the DLLs required for applications built with Target Type “AWE Application” (-awe or
–awe-qt5 on the command line)

32 Bit 64 Bit
ABSOFT_DIR\bin\Qt5Core.dll ABSOFT_DIR\bin64\Qt5Core.dll
ABSOFT_DIR\bin\Qt5Gui.dll ABSOFT_DIR\bin64\Qt5Gui.dll
ABSOFT_DIR\bin\Qt5PrintSupport.dll ABSOFT_DIR\bin64\Qt5PrintSupport.dll
ABSOFT_DIR\bin\Qt5Widgets.dll ABSOFT_DIR\bin64\Qt5Widgets.dll
ABSOFT_DIR\bin\platforms (see note below) ABSOFT_DIR\bin64\platforms (see note below)
ABSOFT_DIR\bin\printsupport (see note below) ABSOFT_DIR\bin64\ printsupport (see note
below)

Note: ABSOFT_DIR\bin\platforms, ABSOFT_DIR\bin\printsupport, ABSOFT_DIR\bin64\platforms,


and ABSOFT_DIR\bin64\printsupport in the table above are directories, not files. The entire directory
should be copied to the same location as the program executable.

You might also like