how to set environmental variable GUILE_WARN_DEPRECATED

Asked by Stephen Russell

Running meep software, 4 processors, this message is repeated 4 times on conclusion of the run. It provides absolutely no benefit to me because I don't know how to do what it says. And yes, I've tried the things obvious to a new user. The message is:

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.

How do I set the environmental variable GUILE_WARN_DEPRECATED?

Stephen Russell

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

If you start that program from a command line terminal, just put the environment variable with the value in front, like this:

GUILE_WARN_DEPRECATED=detailed meep parameters

Revision history for this message
Stephen Russell (steve0steve0) said :
#2

Thanks,
That answer was helpful - I now know this, which is progress:
$ GUILE_WARN_DEPRECATED=detailed meep-mpich2
Using MPI version 3.0, 1 processes
Eval closures are deprecated.  See "Accessing Modules From C" in
the manual, for replacements.
`scm_str2symbol' is deprecated. Use scm_from_locale_symbol instead.
scm_sym2var is deprecated. Use scm_define or scm_module_define
to define variables.  In some rare cases you may need
scm_module_ensure_local_variable.
`scm_ulong2num' is deprecated. Use scm_from_ulong instead.
`scm_c_make_keyword' is deprecated. Use scm_from_locale_keyword instead.
`scm_long2num' is deprecated. Use scm_from_long instead.
GNU Guile 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.
I think the above is saying that the MPI routine, mpich2 is using depreciated symbols/variables from the "c" language. So what can I do about that?Send a message to MIT asking them to rewrite, compile and distribute their free MPI package? In the mean time, I want to turn the warning "OFF" permanently and
$ GUILE_WARN_DEPRECATED=no meep-mpich2
does not do that.
So my question stands, but more specificly. How do I turn off the GUILE_WARN_DEPRECATED warning, permanently?
Thank You,
Stephen Russell

      From: Manfred Hampl <email address hidden>
 To: <email address hidden>
 Sent: Monday, January 26, 2015 12:36 PM
 Subject: Re: [Question #261249]: how to set environmental variable GUILE_WARN_DEPRECATED

Your question #261249 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/261249

    Status: Open => Answered

Manfred Hampl proposed the following answer:
If you start that program from a command line terminal, just put the
environment variable with the value in front, like this:

GUILE_WARN_DEPRECATED=detailed meep parameters

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/261249/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/261249

You received this question notification because you asked the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

According to the documentation, setting the environment variable to "no" (lower case) should suppress the message. If it doesn't, I don't know why.

I have never used meep and guile, so I cannot help further, sorry.

Can you help with this problem?

Provide an answer of your own, or ask Stephen Russell for more information if necessary.

To post a message you must log in.