-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strdate_to_datetime errors in time_manager_tests.jl #1145
Comments
This sounds like the same issue as CliMA/ClimaLand.jl#979! The I would recommend the latter, which would look like this (from the
now when you run
Note the |
I did that replacing dev .. which gave an error by dev "full pathname of ClimaCoupler.jl in my file system" which did work as expected. I then reran the tests and got as far as aqua (additional) which said, as you can see, that the package UUID for CUDA was missing. I added CUDA to the test project with no improvement. Recently I needed to install visual C++ redistributable on my Windows machines (see CUDA.jl installation instructions on github) to get CUDA to add - rather essential! Maybe there is something else I need to do? I added [email protected] , I think a recent update, to Julia @v1.11, not the test project. No change in the result though. Here is the result from the Windows 11 GPU processor running Julia 1.11.2:
The status is
I'm beginning to understand what's going on here and will apply your advice later to the ClimaLand tests. |
Hi Kevin, The Aqua.jl package runs a series of quality-assurance tests. The one you see failing is for stale dependencies (you can read more info in the Aqua.jl docs). This is because CUDA.jl is in the Project.toml, but not loaded (via |
Thanks. I installed the new version of visual C++ and reinstalled CUDA.jl
which fixed the problem. Good.
…On Sat, 1 Feb 2025 at 11:51, Julia Sloan ***@***.***> wrote:
Hi Kevin,
The Aqua.jl package runs a series of quality-assurance tests. The one you
see failing is for stale dependencies (you can read more info in the Aqua.jl
docs <https://juliatesting.github.io/Aqua.jl/stable/stale_deps/>). This
is because CUDA.jl is in the Project.toml, but not loaded (via using/
import) in ClimaCoupler.jl. Could you try removing CUDA from the
top-level and test environments to see if that helps?
—
Reply to this email directly, view it on GitHub
<#1145 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUPNYEVNHRRNH7PK2FCLP5D2NP5AFAVCNFSM6AAAAABVTUFVXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRYGUZDSMBQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I ran the test sets in the ClimaCoupler.jl directory test using the environment of that name and the runtests.jl script, 22 Jan 2025 NZ time.
All succeeded apart from 4 errors all caused by the strdate_to_datetime method being apparently missing. Here is a typical stacktrace:
However the method strdate_to_datetime seems to be defined in src/TimeManager.jl:
Am I missing something here?
My environment is up-to-date: julia 1.11.2 and ClimaCoupler 0.1.2. I am running Windows 11 on an NVIDIA RTX A2000 6GB workstation.
The status for the test project package set is:
Thanks.
The text was updated successfully, but these errors were encountered: