Try psg_abort(1) in the code and should compile.
Murali
________________________________
From: Walt Niemczura <walt_at_hawaii.edu>
To: Paul Ralifo <ralifo_at_bu.edu>
Cc: "ammrl_at_ammrl.org" <ammrl_at_ammrl.org>
Sent: Mon, April 4, 2011 2:34:42 PM
Subject: Re: AMMRL: seqgen error messages: Diffusion
Hi Paul,
I believe that George Gray posted something about this a while ago.
If I'm not mistaken the fix is to replace "abort" with "psg_abort".
The thread was posted in July, 2010.
Walt
On 4/4/2011 7:58 AM, Paul Ralifo wrote:
> Hello
> We had purchased the optional diffusion software package and I recently
> downloaded the pge1.c from the FTP site, extracted it using the
> instructions in the readme file. The extraction appeared to go fine but
> when I ran seqgen pge1 I get the following error:
> ___________________________________________________________
> [vnmr1_at_m500 psglib]$ seqgen pge1.c
>
>
> Beginning Pulse Sequence Generation Process:
>
> Adding DPS extensions to Pulse Sequence...
>
> Compiling Sequence...
>
> Compile with DPS extensions failed
> Retrying without DPS extensions
> Compiling Sequence...
>
>
> Pulse Sequence did not compile.
> The following errors can also be found in the
> file /home/walkup/vnmrsys/psglib/pge1.errors:
>
> pge1.c: In function ‘rampgrad’:
> pge1.c:24: error: too many arguments to function ‘abort’
> pge1.c: In function ‘pulsesequence’:
> pge1.c:116: error: too many arguments to function ‘abort’
> pge1.c:124: error: too many arguments to function ‘abort’
> ____________________________________________________________________________
>
>
> I have contacted Agilent about this, but has anyone experienced this
> problem, or knows how to go about fixing this?
>
> Thank you
--
Walter P. Niemczura, PhD.
NMR/Mass Spec. Facility Director
Department of Chemistry
2545 McCarthy Mall
University of Hawaii
Honolulu, HI 96822-2275
+(808)-956-7503 (Ph)
+(808) 956-5908 (FAX)
walt_at_hawaii.edu
Received on Tue Apr 05 2011 - 02:52:13 MST