[Paraview-developers] link error in FortranPoissonSolver of ParaViewCatalystExample

Andy Bauer andy.bauer at kitware.com
Thu Mar 23 09:31:32 EDT 2017


The ParaView superbuild uses LLVM version 3.8.1. It is at
https://gitlab.kitware.com/paraview/paraview-superbuild in case you want to
try that.

On Thu, Mar 23, 2017 at 9:20 AM, 赵明 <mzhao at cea-igp.ac.cn> wrote:

> Hi Bauer,
> Thank you very much for your reply.Now follow your instruction,I compiled
> Paraview 5.3 in CentOS 7.However,when I run the command (for example
> pvpython) in the bin directory,it reports "segmentation fault(core
> dumped)",when use dmesg it gives:
>
> [zm at centos7 bin]$ dmesg | grep segfault
> [  734.025588] pvpython[5381]: segfault at 0 ip 00007f2ff7227e29 sp
> 00007fff75d182a8 error 4 in libLLVM-3.9.so[7f2ff6e04000+1953000]
> [  765.893732] pvserver[5401]: segfault at 0 ip 00007f490a12ae29 sp
> 00007ffd944dda18 error 4 in libLLVM-3.9.so[7f4909d07000+1953000]
> [ 1027.562577] pvpython[15124]: segfault at 0 ip 00007f22d4c2ee29 sp
> 00007ffc89605368 error 4 in libLLVM-3.9.so[7f22d480b000+1953000]
> [10541.371157] pvpython[17494]: segfault at 0 ip 00007fe7d244bc89 sp
> 00007ffd67c8b6b0 error 4 in libLLVM-3.9.so[7fe7d2027000+1953000]
> [16015.006928] pvpython[18631]: segfault at 0 ip 00007ff0ae2d2e29 sp
> 00007ffefbbb0278 error 4 in libLLVM-3.9.so[7ff0adeaf000+1953000]
>
> It seems libLLVM-3.9.so cause this problem,so does that mean:paraview 5.3
> is not compatible with LLVM-3.9,if so,which version will be good?
>
> Anyone has any ideas?Looking forward for your reply!
>
> Best regards
> Ming
>
> --------- Original Message ---------
> *From:* "Andy Bauer" <andy.bauer at kitware.com>
> *To:* "赵明" <mzhao at cea-igp.ac.cn>
> *Cc:* "paraview-developers at paraview.org" <paraview-developers at paraview.org
> >
> *Subject:* Re: [Paraview-developers] link error in FortranPoissonSolver
> of ParaViewCatalystExample
> *Date:* 03/20/2017 23:23:09 (Mon)
>
> Hi,
>
> ParaView Catalyst has really focused on Linux platforms so we don't test
> the Catalyst examples with Windows. So far there has not been a project to
> support this use case either so I do not have a timeline for when this may
> be fixed.
>
> Best,
> Andy
>
>
> On Sun, Mar 19, 2017 at 4:44 AM, 赵明 <mzhao at cea-igp.ac.cn> wrote:
>
>> Hi everyone,
>>
>> I'm trying to complie "FortranPoissonSolver" in "ParaviewCatalystExample"
>> in Windows 10,the environment is visual studio 2015,intel visual
>> fortran,everything is fine except in the last step, I always get this link
>> error information:
>>
>> *error code: LNK2019* unresolved external symbol *_main* referenced in
>> function "*int __cdecl __scrt_common_main_seh(void)*"
>> (?__scrt_common_main_seh@@YAHXZ) D:\build_example_catalyst_code
>> s\FortranPoissonSolver\MSVCRT.lib(exe_main.obj)
>> does anyone encounter such problem?It is really annoying.
>>
>> By the way,it seems in Linux there is no such problem.
>>
>> Any advice will be appreciated!
>>
>> Cheers
>> Ming
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=
>> Paraview-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20170323/78ea511b/attachment-0001.html>


More information about the Paraview-developers mailing list