|
20 | 20 | $ ('#zip_ball').attr("href", data.zipball_url) |
21 | 21 | $ ('#tar_ball').attr("href", data.tarball_url) |
22 | 22 | for (var key in data.assets) { |
23 | | - if (data.assets[key].name.includes("linux64")) { |
| 23 | + if (data.assets[key].name.includes("linux64.zip")) { |
24 | 24 | $('#asset_linux').attr("href",data.assets[key].browser_download_url) |
| 25 | + $('#asset_linux').text("SU2 " + data.tag_name + " for Linux") |
| 26 | + $('#asset_linux_time').text(data.assets[key].created_at.substring(0, 10)) |
| 27 | + $('#asset_linux_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
25 | 28 | } |
26 | | - if (data.assets[key].name.includes("mac64")) { |
| 29 | + if (data.assets[key].name.includes("linux64-mpi.zip")) { |
| 30 | + $('#asset_linux_mpi').attr("href",data.assets[key].browser_download_url) |
| 31 | + $('#asset_linux_mpi').text("SU2 MPI " + data.tag_name + " for Linux") |
| 32 | + $('#asset_linux_mpi_time').text(data.assets[key].created_at) |
| 33 | + $('#asset_linux_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
| 34 | + } |
| 35 | + if (data.assets[key].name.includes("mac64.zip")) { |
27 | 36 | $('#asset_mac').attr("href",data.assets[key].browser_download_url) |
| 37 | + $('#asset_mac').text("SU2 " + data.tag_name + " for macOS") |
| 38 | + $('#asset_mac_time').text(data.assets[key].created_at.substring(0, 10)) |
| 39 | + $('#asset_mac_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
| 40 | + } |
| 41 | + if (data.assets[key].name.includes("mac64-mpi.zip")) { |
| 42 | + $('#asset_mac_mpi').attr("href",data.assets[key].browser_download_url) |
| 43 | + $('#asset_mac_mpi').text("SU2 MPI " + data.tag_name + " for macOS") |
| 44 | + $('#asset_mac_mpi_time').text(data.assets[key].created_at) |
| 45 | + $('#asset_mac_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
28 | 46 | } |
29 | | - if (data.assets[key].name.includes("win64")) { |
| 47 | + if (data.assets[key].name.includes("win64.zip")) { |
30 | 48 | $('#asset_win').attr("href",data.assets[key].browser_download_url) |
| 49 | + $('#asset_win').text("SU2 " + data.tag_name + " for Windows") |
| 50 | + $('#asset_win_time').text(data.assets[key].created_at.substring(0, 10)) |
| 51 | + $('#asset_win_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
| 52 | + } |
| 53 | + if (data.assets[key].name.includes("win64-mpi.zip")) { |
| 54 | + $('#asset_win_mpi').attr("href",data.assets[key].browser_download_url) |
| 55 | + $('#asset_win_mpi').text("SU2 MPI " + data.tag_name + " for Windows") |
| 56 | + $('#asset_win_mpi_time').text(data.assets[key].created_at.substring(0, 10)) |
| 57 | + $('#asset_win_mpi_size').text(parseInt(data.assets[key].size/1024/1024) + 'MB') |
31 | 58 | } |
32 | 59 | } |
33 | 60 |
|
@@ -65,45 +92,77 @@ <h1 class="text-center">Downloading SU2</h1> |
65 | 92 | <hr> |
66 | 93 |
|
67 | 94 | <h2>Binary Executables</h2> |
68 | | - <p>This option is for users who wish to use SU2 without the need to compile the program from source.<br><b> Note: binary distributions for macOS, Linux, and Windows are serial only!</b></p> |
| 95 | + <p>This option is for users who wish to use SU2 without the need to compile the program from source. We provide serial and parallel (using MPI) versions. </p> |
| 96 | + <b>Disclaimer:</b> For best performance and compatibility you should always consider building SU2 from source. Also note that the Discrete Adjoint functionality is not available when using the binary executables. |
| 97 | + |
69 | 98 | </div> |
70 | 99 | </div> |
71 | 100 |
|
72 | 101 | <br> |
73 | 102 | <h3 id="current_release"></h3> |
74 | | - |
75 | 103 | <br> |
76 | | - |
77 | | -<div class="row"> |
78 | | - <div class="col-sm-3 text-center"> |
79 | | - <p> <a class="btn btn-info btn-lg" id="asset_linux" role="button">Linux (.zip)</a> |
80 | | - </p> |
81 | | - </div> |
82 | | - <div class="col-sm-3 text-center"> |
83 | | - <p><a class="btn btn-success btn-lg" id="asset_mac" role="button">macOS (.zip)</a> |
84 | | - </p> |
85 | | - </div> |
86 | | -</div> |
| 104 | + <table style='width:100%;font-size:100%;'> |
| 105 | + <tr> |
| 106 | + <th><h4>Version</h4></th> |
| 107 | + <th><h4>Notes</h4></th> |
| 108 | + <th><h4>Published</h4></th> |
| 109 | + <th><h4>Size</h4></th> |
| 110 | + </tr> |
| 111 | + <tr> |
| 112 | + <td><a class="btn btn-info btn-lg" style="width: 280px;" id="asset_linux" role="button">SU2 for Linux</a></td> |
| 113 | + <td>-</td> |
| 114 | + <td><p id="asset_linux_time"></p></td> |
| 115 | + <td><p id="asset_linux_size"></p></td> |
| 116 | + </tr> |
| 117 | + <tr> |
| 118 | + <td> </td> |
| 119 | + </tr> |
| 120 | + <tr> |
| 121 | + <td><a class="btn btn-info btn-lg" style="width: 280px;"id="asset_linux_mpi" role="button">SU2 MPI for Linux</a></td> |
| 122 | + <td>Requires installation of <a href="https://www.mpich.org/downloads/">MPICH</a></td> |
| 123 | + <td><p id="asset_linux_mpi_time"></p></td> |
| 124 | + <td><p id="asset_linux_mpi_size"></p></td> |
| 125 | + </tr> |
| 126 | + <tr> |
| 127 | + <td> </td> |
| 128 | + </tr> |
| 129 | + <tr> |
| 130 | + <td><a class="btn btn-success btn-lg" style="width: 280px;" id="asset_mac" role="button">SU2 for macOS</a></td> |
| 131 | + <td>-</td> |
| 132 | + <td><p id="asset_mac_time"></p></td> |
| 133 | + <td><p id="asset_mac_size"></p></td> |
| 134 | + </tr> |
| 135 | + <tr> |
| 136 | + <td> </td> |
| 137 | + </tr> |
| 138 | + <tr> |
| 139 | + <td><a class="btn btn-success btn-lg" style="width: 280px;" id="asset_mac_mpi" role="button">SU2 MPI macOS</a></td> |
| 140 | + <td>Requires installation of <a href="https://www.mpich.org/downloads/">MPICH</a></td> |
| 141 | + <td><p id="asset_mac_mpi_time"></p></td> |
| 142 | + <td><p id="asset_mac_mpi_size"></p></td> |
| 143 | + </tr> |
| 144 | + <tr> |
| 145 | + <td> </td> |
| 146 | + </tr> |
| 147 | + <tr> |
| 148 | + <td><a class="btn btn-danger btn-lg" style="width: 280px;" id="asset_win" role="button">SU2 for Windows</a></td> |
| 149 | + <td>-</td> |
| 150 | + <td><p id="asset_win_time"></p></td> |
| 151 | + <td><p id="asset_win_size"></p></td> |
| 152 | + </tr> |
| 153 | + <tr> |
| 154 | + <td> </td> |
| 155 | + </tr> |
| 156 | + <tr> |
| 157 | + <td><a class="btn btn-danger btn-lg" style="width: 280px;" id="asset_win_mpi" role="button">SU2 MPI for Windows</a></td> |
| 158 | + <td>Requires installation of <a href="https://www.microsoft.com/en-us/download/details.aspx?id=100593">Microsoft MPI</a></td> |
| 159 | + <td><p id="asset_win_mpi_time"></p></td> |
| 160 | + <td><p id="asset_win_mpi_size"></p></td> |
| 161 | + </tr> |
| 162 | + </table> |
87 | 163 |
|
88 | 164 | <br> |
89 | | -<h3>Current Release for Windows: SU2 v6.0.0</h3> |
90 | | -<br> |
91 | | - |
92 | | -<div class="row"> |
93 | | - <div class="col-sm-3 text-center"> |
94 | | - <p> <a class="btn btn-primary btn-lg" href="{{ "/download/su2-windows7-latest.zip" | relative_url }}" role="button">Windows 7 (.zip)</a> |
95 | | - </p> |
96 | | - </div> |
97 | | - <div class="col-sm-3 text-center"> |
98 | | - <p> <a class="btn btn-danger btn-lg" href="{{ "/download/su2-windows10-latest.zip" | relative_url }}" role="button">Windows 10 (.zip)</a> |
99 | | - </p> |
100 | | - </div> |
101 | | -</div> |
102 | | - |
103 | | -<br> |
104 | | - |
105 | | -<div class="row"> |
106 | | - <div class="col-lg-12"> |
| 165 | +<hr> |
107 | 166 | <h2>Source Code</h2> |
108 | 167 | <p>There are a number of ways to access the SU2 source code. If you will be developing the code, we recommend that you clone the repository. On a Linux/Unix/Mac system with the standard git client, this can be done by executing:</p> |
109 | 168 |
|
|
0 commit comments