Thanks Lunhao, I will follow up with you temporarily off-list to test some things out.

Andrew

 

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Shen Lunhao <lunhao0104@hotmail.com>
Reply-To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Date: Monday, November 23, 2020 at 1:27 AM
To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] License error on Windows Subsystem for Linux

 

        External Email - Use Caution        

Hi Andrew,

 

The following is the information of four systems. System #3 and #4 are same configuration where license error occurred.

#1

#2

#3

#4

Core

Intel(R) Xeon(R) CPU E5-2620

Intel i7

AMD R9 5900X

AMD R9 5900X

Mem

32GB

16GB

32GB

32GB

Platform

Linux version 4.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04))

Window subsystem for linux(WSL2) + Ubuntu20.04

Window subsystem for linux(WSL2) + Ubuntu20.04

Window subsystem for linux(WSL2) + Ubuntu20.04

Worked

Worked

Didn’t work

Didn’t work

The freesurfer package I used is freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0which downloaded from freesurfer website. The license file was four lines type. Hope this information is helpful.

 

Thanks,

Lunhao

 

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> 代表 Hoopes, Andrew <AHOOPES@mgh.harvard.edu>

Date: 20201121 1:19
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] License error on Windows Subsystem for Linux

 

Hi Lunhao,

 

Interesting. Can you provide some details on the configurations where this worked? Were you using the same linux subsystem and windows versions?

 

thanks

Andrew

 

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Shen Lunhao <lunhao0104@hotmail.com>
Reply-To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Date: Friday, November 20, 2020 at 2:44 AM
To: FS Help <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] License error on Windows Subsystem for Linux

 

        External Email - Use Caution        

Hello FreeSurfer Developers,
 
I'm attempting to use freesurfer 5.3.0 on Windows Subsystem for Linux (Ubuntu 20.04), but I got license error message as described below:
 
--------------------------------------------------------------------------
ERROR: Invalid FreeSurfer license key found in license file /space/tools/freesurfer/5.3.0/license.txt
  If you are outside the NMR-Martinos Center,
  go to http://surfer.nmr.mgh.harvard.edu to
  get a valid license file (it's free).
  If you are inside the NMR-Martinos Center,
  make sure to source the standard environment.
--------------------------------------------------------------------------
 
I tried with the same 5.3.0 packages and same license file on four different computers, and two of them work well with the other two got similar license error. Does anyone have any thoughts on how to trouble-shoot this one? 
 
1) FreeSurfer version: freesurfer-Linux-centos6_x86_64-stable-pub-v5.3.0
2) Platform: Windows Subsystem for Linux (Ubuntu 20.04)
3) uname -a: Linux DESKTOP-SJ2K1B2 4.4.0-19041-Microsoft #488-Microsoft Mon Sep 01 13:43:00 PST 2020 x86_64 x86_64 x86_64 GNU/Linux


Best,
Lunhao