Windows install issue

298 views
Skip to first unread message

Earl Fairall

unread,
May 2, 2018, 10:21:06 AM5/2/18
to dea...@googlegroups.com
Hi everyone,

I have installed dealii on my windows machine, and it went smoother than expected; however, I am having an issue compiling the examples.

I followed this instruction set:
https://github.com/dealii/dealii/wiki/Windows
Steps 1-6 work great. I see the .sln.

Step 7 fails when I tried to build "example step-1" in Visual Studio.

I think this is the same problem Hilbertdotx is having at the end of the thread here:
https://github.com/dealii/dealii/issues/1921

Here is the exact message coming out of Visual Studio 2017 build logs:

1>------ Build started: Project: step-1, Configuration: Debug x64 ------
1>LINK : C:\dealii-master\examples\step-1\Debug\step-1.exe not found or not built by the last incremental link; performing full link
1>LINK : the 32-bit linker (C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64\link.exe) failed to do memory mapped file I/O on `C:\dealii-master\build\lib\deal_II.g.lib' and is going to restart linking with a 64-bit linker for better throughput
1>LINK : failed to locate a 64-bit linker on %PATH%; continue the current linking

The build didn't technically fail, but it appears to have gone into an infinite loop. It shouldn't take 20+ minutes to build right???? Is this easier to run through a cmd prompt?

Thanks for your help.

Earl

Earl Fairall

unread,
May 2, 2018, 10:53:29 AM5/2/18
to dea...@googlegroups.com
For the record, "step-1.exe" does exist in the debug directory; however it appears to be corrupted.

I also tried this command from x64 Native Tools Command Prompt VS2017, but I am not sure if the syntax is correct:

cmake $ make run step-1

logs confirm it is building, but say nothing about it running.

Timo Heister

unread,
May 3, 2018, 4:17:37 PM5/3/18
to dea...@googlegroups.com
The message " is going to restart linking with a 64-bit linker for
better throughput" sounds like you are not using x64 tooling. Are you
using "set PreferredToolArchitecture=x64" in step 6?


On Wed, May 2, 2018 at 10:53 AM, Earl Fairall <efai...@gmail.com> wrote:
> For the record, "step-1.exe" does exist in the debug directory; however it
> appears to be corrupted.
>
> I also tried this command from x64 Native Tools Command Prompt VS2017, but I
> am not sure if the syntax is correct:
>
> cmake $ make run step-1
>
> logs confirm it is building, but say nothing about it running.
>
>
> Earl Fairall
> p. 815.419.8690
> efai...@gmail.com
>
> On Wed, May 2, 2018 at 7:20 AM, Earl Fairall <efai...@gmail.com> wrote:
>>
>> Hi everyone,
>>
>> I have installed dealii on my windows machine, and it went smoother than
>> expected; however, I am having an issue compiling the examples.
>>
>> I followed this instruction set:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dealii_dealii_wiki_Windows&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=VOWCO4y6EoxoxTUamHAg0u3_UZNqe_azpvMZT0RYMc8&s=Lx-1fiGJ9VvARrZ1y3uVthA35RRs_I9Ha-8kAW6vflE&e=
>> Steps 1-6 work great. I see the .sln.
>>
>> Step 7 fails when I tried to build "example step-1" in Visual Studio.
>>
>> I think this is the same problem Hilbertdotx is having at the end of the
>> thread here:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_dealii_dealii_issues_1921&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=VOWCO4y6EoxoxTUamHAg0u3_UZNqe_azpvMZT0RYMc8&s=8QIQw-jkjGQklZ-99wr6XuQyhm0GdlHrJsYScKAr2Mc&e=
>>
>> Here is the exact message coming out of Visual Studio 2017 build logs:
>>
>> 1>------ Build started: Project: step-1, Configuration: Debug x64 ------
>> 1>LINK : C:\dealii-master\examples\step-1\Debug\step-1.exe not found or
>> not built by the last incremental link; performing full link
>> 1>LINK : the 32-bit linker (C:\Program Files (x86)\Microsoft Visual
>> Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64\link.exe)
>> failed to do memory mapped file I/O on
>> `C:\dealii-master\build\lib\deal_II.g.lib' and is going to restart linking
>> with a 64-bit linker for better throughput
>> 1>LINK : failed to locate a 64-bit linker on %PATH%; continue the current
>> linking
>>
>> The build didn't technically fail, but it appears to have gone into an
>> infinite loop. It shouldn't take 20+ minutes to build right???? Is this
>> easier to run through a cmd prompt?
>>
>> Thanks for your help.
>>
>> Earl
>
>
> --
> The deal.II project is located at https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dealii.org_&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=VOWCO4y6EoxoxTUamHAg0u3_UZNqe_azpvMZT0RYMc8&s=JOz8wprFmkQLiinZOoB9ffF1C2PxzKsOk2r4DJXLwRc&e=
> For mailing list/forum options, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_forum_dealii-3Fhl-3Den&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=VOWCO4y6EoxoxTUamHAg0u3_UZNqe_azpvMZT0RYMc8&s=IYo8XzxqMmDiC6x4sepPhrvp9mNrdx6EKsTm5jMuDQk&e=
> ---
> You received this message because you are subscribed to the Google Groups
> "deal.II User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dealii+un...@googlegroups.com.
> For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIBaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=4k7iKXbjGC8LfYxVJJXiaYVu6FRWmEjX38S7JmlS9Vw&m=VOWCO4y6EoxoxTUamHAg0u3_UZNqe_azpvMZT0RYMc8&s=7t9FfhYg6Yvfmgv034XIVwc4MsG1AE8uk9IGAeUlZbs&e=.



--
Timo Heister
http://www.math.clemson.edu/~heister/

Earl Fairall

unread,
May 3, 2018, 11:30:21 PM5/3/18
to dea...@googlegroups.com
Yes, I read an article that suggested maybe v/s isn’t configured correctly. I’m looking into that.  will report back

The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en

---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Earl Fairall

unread,
May 6, 2018, 3:19:31 AM5/6/18
to dea...@googlegroups.com
Success?



I'd love to tell you how I did it, but I'm not entirely sure! So many buttons have been clicked at this point...... HOWEVER, a few things any lurkers can try are this:

1.) On the 2017 Visual Studio Task Bar: TEST>TEST SETTINGS> DEFAULT PROCESSOR ARCHITECTURE> X64
2.) My error logs seemed to indicate V/S couldn't find the X64 linker.exe, so I added those files to the path to search in. To do that: Go to DEBUG on the task bar. Select the file PROPERTIES. A property window pops up. Under the CONFIGURATION PROPERTIES dropdown, select VC++ Directories. Click EXECUTABLE DIRECTORIES. Add your link file locations to the directory list. For me, that location was:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x64
and
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\Hostx64\x86

3.) Set project as startup project: Right click STEP-X > SET AS STARTUP PROJECT




Is this supposed to be happening??????



what a day...time for a beer

cheers everyone

Earl

On Thu, May 3, 2018 at 8:30 PM, Earl Fairall <efai...@gmail.com> wrote:
Yes, I read an article that suggested maybe v/s isn’t configured correctly. I’m looking into that.  will report back
On Thu, May 3, 2018 at 1:17 PM Timo Heister <hei...@clemson.edu> wrote:
The message " is going to restart linking with a 64-bit linker for
better throughput" sounds like you are not using x64 tooling. Are you
using "set PreferredToolArchitecture=x64" in step 6?


On Wed, May 2, 2018 at 10:53 AM, Earl Fairall <efai...@gmail.com> wrote:
> For the record, "step-1.exe" does exist in the debug directory; however it
> appears to be corrupted.
>
> I also tried this command from x64 Native Tools Command Prompt VS2017, but I
> am not sure if the syntax is correct:
>
> cmake $ make run step-1
>
> logs confirm it is building, but say nothing about it running.
>
>
> Earl
>
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
--
Earl

Reply all
Reply to author
Forward
0 new messages