forked from NREL/ROSCO
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update compilation code for linux systems
- Loading branch information
Bartdoekemeijer
authored and
Bartdoekemeijer
committed
Oct 18, 2017
1 parent
9d11f50
commit 096c996
Showing
2 changed files
with
15 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Cd to correct directory | ||
cd ../Source | ||
|
||
# Set options to 64 bits | ||
sed -i '13s/.*/#BITS = 32/' makefile | ||
sed -i '14s/.*/BITS = 64/' makefile | ||
|
||
# Build code | ||
rm -f ../DISCON/DISCON_glin64.so | ||
make clean | ||
make all | ||
echo 'The output file is: "../DISCON/DISCON_glin64.so".' | ||
|
||
# Return to initial directory | ||
cd ../Scripts |