Re: [deal.II] Warning messages about text-based stub files not syncing with library files when compiling on Mac.

2019-01-30 Thread Jean-Paul Pelteret
Dear Zachary,

I googled this problem and it seems that, dependent on what version of Xcode 
and MacOS you’re running, there might be one of two solutions. Here’s a similar 
post on the Apple forums that outlines the two possibilities 
. The first possible solution 
(which may only work for older versions of Xcode) to remove and reinstall the 
command line tools. The second would be that the link line generated by CMake 
is causing the issue.

This is the selected solution from the Apple forum post 
:
> You have to link directly to the library and not rely on -isysroot or 
> -frameworks in your makefile. you need to link like -L /path/to/lib 
> libstuff.dylib
and something that we’d likely have to implement on our side.

Can you please provide the deal.II configuration logs (detailed.log, 
summary.log), tell us more about your system setup (MacOS and Xcode version), 
and also provide the verbose output when building one of the tutorial programs 
(you can get this using “make VERBOSE=1”). I hope that this might be sufficient 
information to help solve this issue.

Best,
Jean-Paul

> On 31 Jan 2019, at 03:34, Zachary Hardy  wrote:
> 
> When I compile the examples, I receive about 12 warning messages about 
> linking stating that the text-based stub files and library files are not in 
> sync, all from within `/System/Library/Framework/Accelerate.framework.' 
> Everything ends up working in the end, but I can't seem to remedy this issue 
> to get rid of the warning messages. Has anyone seen this before, and if so, 
> what steps can be taken to resolve this issue? Below is an example of the 
> warning messages.
> 
> ld: warning: text-based stub file 
> /System/Library/Frameworks//Accelerate.framework/Accelerate.tbd and library 
> file /System/Library/Frameworks//Accelerate.framework/Accelerate are out of 
> sync. Falling back to library file for linking.
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Warning messages about text-based stub files not syncing with library files when compiling on Mac.

2019-01-30 Thread Zachary Hardy
When I compile the examples, I receive about 12 warning messages about 
linking stating that the text-based stub files and library files are not in 
sync, all from within `/System/Library/Framework/Accelerate.framework.' 
Everything ends up working in the end, but I can't seem to remedy this 
issue to get rid of the warning messages. Has anyone seen this before, and 
if so, what steps can be taken to resolve this issue? Below is an example 
of the warning messages.

ld: warning: text-based stub file 
/System/Library/Frameworks//Accelerate.framework/Accelerate.tbd and library 
file /System/Library/Frameworks//Accelerate.framework/Accelerate are out of 
sync. Falling back to library file for linking.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Re: Problems installing dealii on Windows with VS2017

2019-01-30 Thread Ester Comellas
Sorry, Wolfgang. I already uninstalled MVSC from my computer and deleted 
all the associated files... 


El dimecres, 30 gener de 2019 14:25:45 UTC-5, Wolfgang Bangerth va escriure:
>
> On 1/30/19 11:04 AM, Ester Comellas wrote: 
> > 
> > I switched to the deal.ii code version you mention (#7520) and, indeed, 
> > it compiles and I'm able to run steps 1 to 3 (haven't tried beyond 
> > that). However, I'm having trouble building my program in Visual Studio. 
> > It seems that it cannot find the right libraries because I get a whole 
> > bunch of errors related to TrilinosWrappers. 
> > 
> > Also, I thought you might want to know that before using version #7520 I 
> > tried the latest one at the time (#7652) and I got tons of C2131 
> > (expression did not evaluate to a constant) and C2975 (invalid template 
> > argument for..) errors when trying to compile deal.ii. 
> > 
> > In the end, I've given up on MVSC and I installed the Windows Subsystem 
> > for Linux. This is a great feature, thanks for your advice!  My code is 
> > running smoothly now. 
>
> Ester -- yes, not surprising. MS Visual Studio is, as far as compilers 
> go, a pretty crappy one and we've often found that if we don't regularly 
> test with it, all sorts of code that works just fine across all other 
> compilers is just broken on Visual Studio. You'll likely save yourself 
> some pain by going with the Linux subsystem. 
>
> That said, if you happened to still have your VS around, would you mind 
> opening a github issue and copy-paste the error messages you get into 
> it? It might still be useful to see if they are easy to fix... 
>
> Best 
>   W. 
>
> -- 
>  
> Wolfgang Bangerth  email: bang...@colostate.edu 
>  
> www: http://www.math.colostate.edu/~bangerth/ 
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Change in the behavior of Boundary Id interpretation from GMSH 2 to GMSH 4?

2019-01-30 Thread Bruno Blais

Dear Daniel,
Sorry I dropped the ball on this one.
I checked out the patch and tested it on two of my full cases and 
everything works well.
No differences between a GMSH ASCII 2 and GMSH ASCII 4, whereas before I 
had the previous issue.

>From my point of view this fixes everything.

Thank you very much!

On Tuesday, 29 January 2019 20:05:36 UTC-5, Daniel Arndt wrote:
>
> Bruno,
>
> Can you try if the patch in https://github.com/dealii/dealii/pull/7637 
> fixes your problem?
>
> Best,
> Daniel
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [deal.II] Re: Problems installing dealii on Windows with VS2017

2019-01-30 Thread Wolfgang Bangerth
On 1/30/19 11:04 AM, Ester Comellas wrote:
> 
> I switched to the deal.ii code version you mention (#7520) and, indeed, 
> it compiles and I'm able to run steps 1 to 3 (haven't tried beyond 
> that). However, I'm having trouble building my program in Visual Studio. 
> It seems that it cannot find the right libraries because I get a whole 
> bunch of errors related to TrilinosWrappers.
> 
> Also, I thought you might want to know that before using version #7520 I 
> tried the latest one at the time (#7652) and I got tons of C2131 
> (expression did not evaluate to a constant) and C2975 (invalid template 
> argument for..) errors when trying to compile deal.ii.
> 
> In the end, I've given up on MVSC and I installed the Windows Subsystem 
> for Linux. This is a great feature, thanks for your advice!  My code is 
> running smoothly now.

Ester -- yes, not surprising. MS Visual Studio is, as far as compilers 
go, a pretty crappy one and we've often found that if we don't regularly 
test with it, all sorts of code that works just fine across all other 
compilers is just broken on Visual Studio. You'll likely save yourself 
some pain by going with the Linux subsystem.

That said, if you happened to still have your VS around, would you mind 
opening a github issue and copy-paste the error messages you get into 
it? It might still be useful to see if they are easy to fix...

Best
  W.

-- 

Wolfgang Bangerth  email: bange...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[deal.II] Re: Problems installing dealii on Windows with VS2017

2019-01-30 Thread Ester Comellas
Daniel,

I switched to the deal.ii code version you mention (#7520) and, indeed, it 
compiles and I'm able to run steps 1 to 3 (haven't tried beyond that). 
However, I'm having trouble building my program in Visual Studio. It seems 
that it cannot find the right libraries because I get a whole bunch of 
errors related to TrilinosWrappers.

Also, I thought you might want to know that before using version #7520 I 
tried the latest one at the time (#7652) and I got tons of C2131 
(expression did not evaluate to a constant) and C2975 (invalid template 
argument for..) errors when trying to compile deal.ii. 

In the end, I've given up on MVSC and I installed the Windows Subsystem for 
Linux. This is a great feature, thanks for your advice!  My code is running 
smoothly now.

Regards,
Ester



El dimarts, 29 gener de 2019 17:21:20 UTC-5, Daniel Arndt va escriure:
>
> Ester,
>
> we likely fixed this problem in https://github.com/dealii/dealii/pull/7520. 
> Let us know if applying these changes also helps in your case.
>
> In our experience, MSVC is a quite buggy and sensitive compiler and weonly 
> test once in a while that we at least can compile with it.
> There is no guarantee that everything works correctly. Hence, we generally 
> advise people to use the "Windows Subsystem for Linux"(also explained 
> inhttps://github.com/dealii/dealii/wiki/Windows) when running on Windows 
> and avoid the MSVC compiler.
>
> Best,
> Daniel
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.