Hello,
I have noticed that in sac v102 various functions that were in libsacio.a are now in libmsg.a. I guess this means that we need to link programs to libmsg.a as well as libsacio.a, or is the expectation that users no longer need these routines in v102?
To give a a specific example, the function sac_warning_off() is now in libmsg.a - is this function now defunct in v 102 or do I need to link to both libsacio.a and libmsg.a to use it?
Is libmsg.a supplied in precompiled versions of sac or is it not required?
Many thanks for any help!
kind regards,
Neil
I have noticed that in sac v102 various functions that were in libsacio.a are now in libmsg.a. I guess this means that we need to link programs to libmsg.a as well as libsacio.a, or is the expectation that users no longer need these routines in v102?
To give a a specific example, the function sac_warning_off() is now in libmsg.a - is this function now defunct in v 102 or do I need to link to both libsacio.a and libmsg.a to use it?
Is libmsg.a supplied in precompiled versions of sac or is it not required?
Many thanks for any help!
kind regards,
Neil
-
Neil,
Good question.
In short, sac_warning_off() is now defunct and not required as of sac version 102.0.
The functions in libsacio.a were extracted into a stand-alone library and do not depend on functions more closely related (internal) to sac. This includes including anything in libmsg.a.
Sorry for any confusion regarding this.
Thanks,
Brian
On May 17, 2021, at 6:42 AM, Neil Selby (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
Hello,
I have noticed that in sac v102 various functions that were in libsacio.a are now in libmsg.a. I guess this means that we need to link programs to libmsg.a as well as libsacio.a, or is the expectation that users no longer need these routines in v102?
To give a a specific example, the function sac_warning_off() is now in libmsg.a - is this function now defunct in v 102 or do I need to link to both libsacio.a and libmsg.a to use it?
Is libmsg.a supplied in precompiled versions of sac or is it not required?
Many thanks for any help!
kind regards,
Neil
----------------------
SAC Help
Topic home: https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_topic_sac-2Dhelp_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=KdMJN6StIolaxvkI0chzqOi7K1F1hA4xdnznbQ4Ahbs&e= | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=N77pZa0LbsFlqXXULKvuBS7GgwzHVnVl7HlEY2ns1hI&e= )
Update subscription preferences at https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_account_profile_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=0fcHL3OJDD48v7O4KkbmmDMV0OIXa8Q6AZTWHiPB9eI&e=
-
Thanks for your speedy reply Brian!
On follow up question - is there a function in libsacio.a which lets me know the version number - so that I can write code compatible with versions 101 and 102 (if not I guess I will need to do something more complicated with my Makefile…)
Neil
On 17 May 2021, at 12:19, Brian Savage (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
Neil,
Good question.
In short, sac_warning_off() is now defunct and not required as of sac version 102.0.
The functions in libsacio.a were extracted into a stand-alone library and do not depend on functions more closely related (internal) to sac. This includes including anything in libmsg.a.
Sorry for any confusion regarding this.
Thanks,
Brian
On May 17, 2021, at 6:42 AM, Neil Selby (via IRIS) <sac-help-bounce<at>lists.ds.iris.edu> wrote:
----------------------
Hello,
I have noticed that in sac v102 various functions that were in libsacio.a are now in libmsg.a. I guess this means that we need to link programs to libmsg.a as well as libsacio.a, or is the expectation that users no longer need these routines in v102?
To give a a specific example, the function sac_warning_off() is now in libmsg.a - is this function now defunct in v 102 or do I need to link to both libsacio.a and libmsg.a to use it?
Is libmsg.a supplied in precompiled versions of sac or is it not required?
Many thanks for any help!
kind regards,
Neil
----------------------
SAC Help
Topic home: https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_topic_sac-2Dhelp_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=KdMJN6StIolaxvkI0chzqOi7K1F1hA4xdnznbQ4Ahbs&e= | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_message-2Dcenter_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=N77pZa0LbsFlqXXULKvuBS7GgwzHVnVl7HlEY2ns1hI&e= )
Update subscription preferences at https://urldefense.proofpoint.com/v2/url?u=http-3A__ds.iris.edu_account_profile_&d=DwICAg&c=dWz0sRZOjEnYSN4E4J0dug&r=xlrnQuY_RWoRIvnCDJ5AfQ&m=a3W70-kdQ2ntMYeMnkfsGnrecprgDYFZfV5xoU82W7I&s=0fcHL3OJDD48v7O4KkbmmDMV0OIXa8Q6AZTWHiPB9eI&e=
SAC Help
Topic home: http://ds.iris.edu/message-center/topic/sac-help/ | Unsubscribe: sac-help-unsubscribe<at>lists.ds.iris.edu
Sent from the IRIS Message Center (http://ds.iris.edu/message-center/)
Update subscription preferences at http://ds.iris.edu/account/profile/
-