[Difx-users] error when running startCalcServer {External}

Yu, Wei wei.yu at cfa.harvard.edu
Mon Aug 19 22:35:22 EDT 2024


Hi Adam,

Thank you again for your help. I didn't actually run difxcalc to generate
the im files. I just tested the command "difxcal -help" and the error
occurred. But I'm not sure why reinstalling the entire difx didn't solve
the problem, but reinstalling only difcalc11 did. Anyway, this problem was
solved. Thank you again.

Best regards
Wei



On Mon, Aug 19, 2024 at 10:32 PM Adam Deller <adeller at astro.swin.edu.au>
wrote:

> How many antennas do you have in this observation, Wei? difxcalc will
> segfault if the number of antennas in the calc file exceeds the hard-coded
> maximum (got to love FORTRAN). Until some time in 2023, that maximum was
> 30-something (actually, about 10 different variables in different places
> had different maxima, but 30-something was the lowest) but for around a
> year now it should have been bumped up to 254.
>
> As Chris said, ensuring that you are working with a fresh compile of the
> most recent version should help.
>
> Cheers,
> Adam
>
> On Tue, 20 Aug 2024 at 12:27, Phillips, Chris (S&A, Marsfield) via
> Difx-users <difx-users at listmgr.nrao.edu> wrote:
>
>> I would start with a fresh install of DIFX
>>
>> On 20 Aug 2024, at 11:42, Yu, Wei via Difx-users <
>> difx-users at listmgr.nrao.edu> wrote:
>>
>> Hi Adam and all,
>>
>> Still have errors when running difxcalc, as follows: difxcalc -help
>>
>> Program received signal SIGSEGV: Segmentation fault - invalid memory
>> reference.
>>
>> Backtrace for this error:
>> #0  0x7f9d43e612ed in ???
>> #1  0x7f9d43e60503 in ???
>> #2  0x7f9d434de03f in ???
>> #3  0x7f9d4362d6c7 in ???
>> #4  0x7f9d4353cb3d in ???
>> #5  0x7f9d43e60a7b in ???
>> #6  0x7f9d43fcbebc in ???
>> #7  0x7f9d43fdba47 in ???
>> #8  0x56098ed4e479 in usage_
>> at
>> /root/Software_Install/DiFX-2.6.2/applications/difxcalc11/src/dstrt.f:1525
>> #9  0x56098ed5176e in getcl_
>> at
>> /root/Software_Install/DiFX-2.6.2/applications/difxcalc11/src/dstrt.f:1219
>> #10  0x56098ed4c375 in difxcalc
>> at
>> /root/Software_Install/DiFX-2.6.2/applications/difxcalc11/src/dmain.f:62
>> #11  0x56098ed01a5e in main
>> at
>> /root/Software_Install/DiFX-2.6.2/applications/difxcalc11/src/dmain.f:139
>> Segmentation fault (core dumped)
>>
>>
>> Any further suggestions? Thank you very much.
>>
>> Best regards
>> Wei
>>
>> On Sun, Aug 18, 2024 at 10:39 PM Yu, Wei <wei.yu at cfa.harvard.edu> wrote:
>>
>>> Hi Adam,
>>>
>>> Thank you very much for your quick response and suggestions. OK, I will
>>> try to use difxcalc tomorrow.
>>>
>>> Best regards
>>> Wei
>>>
>>> On Sun, Aug 18, 2024 at 10:35 PM Adam Deller <adeller at astro.swin.edu.au>
>>> wrote:
>>>
>>>> Hi Wei,
>>>>
>>>> Probably this indicates an issue with RPC on your machine. Rather than
>>>> trying to fix it, I recommend just using difxcalc rather than calcif2 to
>>>> generate the delay model files. That way you don't need the calc server -
>>>> difxcalc is a drop-in replacement for calcif2 without all the hassle.
>>>>
>>>> Cheers,
>>>> Adam
>>>>
>>>> On Mon, 19 Aug 2024 at 12:28, Yu, Wei via Difx-users <
>>>> difx-users at listmgr.nrao.edu> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> When I tried to run startCalcServer, I encountered the following error.
>>>>>
>>>>> terminate CALCServer that is currently running on user-SYS-740P-TR
>>>>> CalcServer: no process found
>>>>> reset environment variables for CALCServer
>>>>> /tmp ~
>>>>> starting new CalcServer on user-SYS-740P-TR
>>>>> checking that the CalcServer responds
>>>>>
>>>>>
>>>>> user-SYS-740P-TR: RPC: Remote system error - Connection refused
>>>>>
>>>>> ERROR: rpc clnt_create fails for host : user-SYS-740P-TR
>>>>>
>>>>>
>>>>> user-SYS-740P-TR is my server's name. Does anyone have similar
>>>>> problems? Thank you very much
>>>>>
>>>>> Best regards
>>>>> Wei Yu
>>>>>
>>>>> _______________________________________________
>>>>> Difx-users mailing list
>>>>> Difx-users at listmgr.nrao.edu
>>>>> https://listmgr.nrao.edu/mailman/listinfo/difx-users
>>>>>
>>>>
>>>>
>>>> --
>>>> !=============================================================!
>>>> Prof. Adam Deller
>>>> Centre for Astrophysics & Supercomputing
>>>> Swinburne University of Technology
>>>> John St, Hawthorn VIC 3122 Australia
>>>> phone: +61 3 9214 5307
>>>> fax: +61 3 9214 8797
>>>> !=============================================================!
>>>>
>>> _______________________________________________
>> Difx-users mailing list
>> Difx-users at listmgr.nrao.edu
>> https://listmgr.nrao.edu/mailman/listinfo/difx-users
>>
>>
>> _______________________________________________
>> Difx-users mailing list
>> Difx-users at listmgr.nrao.edu
>> https://listmgr.nrao.edu/mailman/listinfo/difx-users
>>
>
>
> --
> !=============================================================!
> Prof. Adam Deller
> Centre for Astrophysics & Supercomputing
> Swinburne University of Technology
> John St, Hawthorn VIC 3122 Australia
> phone: +61 3 9214 5307
> fax: +61 3 9214 8797
> !=============================================================!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listmgr.nrao.edu/pipermail/difx-users/attachments/20240819/90c5b05c/attachment-0001.html>


More information about the Difx-users mailing list