Skip to content
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

Julia v1.2.0 on Windows Server 2012 R2 #33188

Closed
GregPlowman opened this issue Sep 7, 2019 · 10 comments
Closed

Julia v1.2.0 on Windows Server 2012 R2 #33188

GregPlowman opened this issue Sep 7, 2019 · 10 comments
Labels
regression Regression in behavior compared to a previous version windows Affects only Windows

Comments

@GregPlowman
Copy link
Contributor

Discourse post: https://discourse.julialang.org/t/julia-v1-2-0-on-windows-server-2012-r2

I cannot start Julia v1.2.0 on Windows Server 2012 R2.

The installation seems successful, but when starting Julia the terminal opens momentarily and then exits immediately.

The problem occurs on multiple servers with similar configuration.
Previous versions of Julia (v1.0.4, v1.1.1) run fine on these servers (Windows Server 2012 R2)
Julia v1.2.0 is installed and working on Windows 10 machines.

Unfortunately there’s no error message, it just seems to exit and return to the windows Command prompt:

C:\Users\plowman>"C:\Program Files\Julia-1.2.0\bin\julia.exe"

C:\Users\plowman>

whereas Julia v1.1.1 starts properly as expected:

C:\Users\plowman>"C:\Program Files\Julia-1.1.1\bin\julia.exe"
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.1.1 (2019-05-16)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

syda-std6af-02 Julia-1.1.1>

Same issue reproduced by another user on Discourse.

@JeffBezanson JeffBezanson added windows Affects only Windows regression Regression in behavior compared to a previous version labels Sep 10, 2019
@Petr-Hlavenka
Copy link
Contributor

Strange - I cannot confirm this is an issue. It's running fine on my WinServer 2012R2 (all security patches up to this Wednesday).
Installed from official binaries as per-user install into the appdata folder, not a global installation.
Clipboard 4

@rvasil
Copy link

rvasil commented Sep 15, 2019

Hi, I had same issue on Windows 10 Pro.
However, I still had global JULIA_BINDIR environment variable pointing to version 1.1
After changing JULIA_BINDIR to point to new Julia version, it works fine.
HTH,
Rastislav

PS: Btw, running similar incorrect setup with Julia 1.0.0 with JULIA_BIN pointing to Julia 1.1.1. directory yields following error:

call E:\lang\Julia-1.0.0\bin\julia
ERROR: could not load library "E:\lang\Julia-1.1.1\lib\julia\sys.dll"
The specified procedure could not be found.

@GregPlowman
Copy link
Contributor Author

Just tried with Julia v1.3.0-rc2 but same issue. Julia does not start. No error message.
No problems on Windows 10 machines.

Do you think it could be related to code signing?
Anyone have tips about how to further diagnose?

@rvasil
Copy link

rvasil commented Sep 19, 2019

I tried 1.2.0 on 2008 R2 and 2016 and it works fine. No 2012 available here.
Maybe check your startup.jl file or remove everything from c:\Users%username%.julia\ directory if you have used other versions previously on that server.

On servers, I don't install Julia directly, but copy installation and packages from my dev machine to custom directories.
Then I start Julia like this:

set JULIA_BINDIR=E:\lang\Julia-1.2.0\bin
set JULIA_DEPOT_PATH=E:\lang\julia\packages
set PATH=%PATH%;%JULIA_BINDIR%
%JULIA_BINDIR%\julia.exe %*

@ueliwechsler
Copy link

The same problem appears for julia v1.3.0-rc2.

I am not sure if this is related to the problem. But for julia >v1.20 the Path that package manager displays when calling (v1.2) pkg> st changes from
Status \\serveraddress\...\environments\v1.2\Project.toml
Status UNC\serveraddress\...\environments\v1.2\Project.toml
which causes some problems in my setup.

@GregPlowman
Copy link
Contributor Author

Perhaps its something to do with libopenblas64_.dll?

In Julia v1.2.0, replacing libopenblas64_.dll with the dll from Julia v1.1.1 allows Julia to start. Things seem normal, but I don't really use BLAS.

Julia v1.3.0-rc4 has the same issue and is "fixed" by replacing libopenblas64_.dll.

Is there anything I can do to further diagnose the issue?

@PallHaraldsson
Copy link
Contributor

PallHaraldsson commented Apr 7, 2020

See workaround here (after fixing typo):
#34097 (comment)

]add OpenBLAS_jll

and then copying. I see https://github.com/JuliaRegistries/General/tree/master/O/OpenBLAS_jll
is now at latest version v0.3.9+2.

I'm not up to speed on if this is fixed in 1.4, but should this issue be closed? At least if works in 1.4, as 1.2 and 1.3 no longer supported.

@OndWolf
Copy link

OndWolf commented Apr 25, 2020

I have the same problem with Julia 1.4.1

@ueliwechsler
Copy link

ueliwechsler commented Apr 25, 2020

I have the same problem with Julia 1.4.1

Same here. and the recommended fix with libopenblas64_.dll does not work either.

replacing libopenblas64_.dll with the dll from Julia v1.1.1

But this fix does work.

@vtjnash
Copy link
Sponsor Member

vtjnash commented Oct 22, 2020

set JULIA_BINDIR

Do not set JULIA_BINDIR, unless the default autodetection is failing for your setup (unusual)

I have the same problem with Julia 1.4.1

The fix for the openblas issue (#34097) was expected in v1.5

@vtjnash vtjnash closed this as completed Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version windows Affects only Windows
Projects
None yet
Development

No branches or pull requests

8 participants