| 1 | 2009/6/8 mpich2 <span dir="ltr"><<a href="mailto:mpich2-maint@mcs.anl.gov" target="_blank">mpich2-maint@mcs.anl.gov</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | Hi,<br> |
|---|
| 5 | I wanted to have a sample code that you could not compile with "static<br> |
|---|
| 6 | multithreaded runtime lib (/MT)" .<br> |
|---|
| 7 | <br> |
|---|
| 8 | Regards,<br> |
|---|
| 9 | Jayesh<br> |
|---|
| 10 | </blockquote><div><br></div><div><div>Hi,</div><div><br></div><div>As I said before: "Unfortunately .NET (/clr) and multithreaded static lib (/MT) are incompatible, you cannot even compile the project."</div><div> |
|---|
| 11 | |
|---|
| 12 | <br></div><div>Visual Studio says: "Command line error D8016: '/MT' and '/clr' command-line options are incompatible". So the only way to compile a .NET project is to use the _dynamic_ runtime libraries. MPI works just fine with the static runtime libraries, but my issues were with MPI in combination with .NET.</div> |
|---|
| 13 | |
|---|
| 14 | <div><br></div><div>Best regards, Tamas</div></div> |
|---|