Skip to content

Commit

Permalink
64 bit windows compilations
Browse files Browse the repository at this point in the history
  • Loading branch information
ccchart committed Nov 18, 2019
1 parent 7e86d16 commit 92ccea2
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
*.tws
*.mod
*.f
*.for
*.f90
*.obj
*.o
*~
norm_end
swaninit
10 changes: 8 additions & 2 deletions INSTALL.README
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ Instructions for quick installation of SWAN
called ActivePerl (www.activestate.com/activeperl/downloads).
The Perl version should be at least 5.0.0 or higher!

2) From the 'build' directory, type 'mk.pl ser' for a serial compilation.
Type 'mk.pl omp' for an openMP compilation
2) From the 'src' directory, type 'perl platform.pl' to set up macros.ini file
On Linux:
Type 'make ser' for serial compilation.
Type 'make omp' for an openMP compilation
On Windows:
Enter the VS compiler environment
Type 'nmake ser' for serial compilation.
Type 'nmake omp' for an openMP compilation
File renamed without changes.
Binary file added bin/snl-swan-win-omp-ifort-64.exe
Binary file not shown.
File renamed without changes.
Binary file added bin/snl-swan-win-ser-ifort-64.exe
Binary file not shown.
6 changes: 3 additions & 3 deletions src/platform.pl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
my $os = `uname -s`;
#my $os = `uname -s`;
$os = $^O unless chomp($os);

my $cpu = `uname -m`;
$cpu = $^O unless chomp($cpu);
#my $cpu = `uname -m`;
# $cpu = $^O unless chomp($cpu);

open(OUTFILE,">macros.inc");

Expand Down

0 comments on commit 92ccea2

Please sign in to comment.