Installation

Installation

As ASWING is designed to be a standalone program, several modifications must be made to the original program to allow direct interaction with the program through Julia (and to prevent it from launching GUIs). This section will guide you through the installation process.

Start by checking out this package for development:

(v1.0) pkg> dev https://github.com/byuflowlab/Aswing.jl

Julia will automatically try (and fail) to build the package. This is ok, because we weren't ready to build the package anyway.

Then copy the contents of ASWING's src directory into the ~/.julia/dev/Aswing/deps/src/aswing/src directory. Plotting packages are not used by this wrapper and do not need to be copied over.

Then make the following necessary changes to the source code:

You may also want to remove (or comment out) a number of WRITE statements from the original code to prevent ASWING from printing a plethora of information. These include, but are not limited to the following lines in the original source code:

After performing the changes listed above, build the package to automatically build a shared library that Julia can call.

(v1.0) pkg> build Aswing

You are now ready to use the Aswing.jl package.

Note that if you wish to change the file DIMEN.INC to increase FORTRAN array limits, the file dimenglobals.jl must also be modified and the package must be rebuilt.

Rebuilding

Rebuilding the package will automatically regenerate the shared library.

(v1.0) pkg> build Aswing