Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing depricated definition #2

Merged
merged 2 commits into from
Jan 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 31 additions & 14 deletions pdStrip/README
Original file line number Diff line number Diff line change
@@ -1,37 +1,54 @@
1 DESCRIPTION
###1. DESCRIPTION

PDSTRIP is a hydrodynamic strip code for seakeeping. It computes ship motions
for monohulls including sailing boats.


2 COMPILATION ON LINUX
###2. PREREQUISITES
Building and using pdStrip will require some additional packages.

1) Specify your compiler in the Makefile
2) type make
* git
* gcc
* g++
* qt5-qmake
* qt-sdk
* gnuplot
* gfortran

If you are in Ubuntu (or other Debian based distribution) you can install these by issuing the following command

3 EXAMPLE USAGE ON LINUX
`sudo apt-get install git gcc g++ qt5-qmake qt-sdk gnuplot gfortran`

1) change directory to examples
2) run the example with the following command:
###3. COMPILATION ON LINUX

../pdstrip pdstrip.inp
1. Specify your compiler in the Makefile (in a default Linux installation this will automatically be set to the gcc compiler)

2. type make

4 NOTES ON COMPILATION ON WINDOWS

###4. EXAMPLE USAGE ON LINUX

1. change directory to examples

2. run the example with the following command:

`../bin/pdstrip pdstrip.inp`


###5. NOTES ON COMPILATION ON WINDOWS

pdstrip.f90 is known to crash the Salford FTN95 compiler versions 4.7.1 and 4.8.0.
Version 4.7.x works if you choose the "Win32 debug" or "Win32 release" compiler
option.


5 EXAMPLE USAGE ON WINDOWS
###6. EXAMPLE USAGE ON WINDOWS

1) open a command prompt
2) change directory to examples
3) run the program with the following command
1. open a command prompt
2. change directory to examples
3. run the program with the following command

..\pdstrip.EXE pdstrip.inp
`..\pdstrip.EXE pdstrip.inp`


As a Windows user you may also use the graphical interface called PdStripGui.EXE.
Expand Down
2 changes: 1 addition & 1 deletion pdStrip/src/solver/solver.pro
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ F90 = gfortran
ff90.output = ${QMAKE_FILE_BASE}.o
ff90.commands = $$F90 -c -g ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT}
ff90.input = F90_SOURCES
QMAKE_EXTRA_UNIX_COMPILERS += ff90
QMAKE_EXTRA_COMPILERS += ff90