Forum Discussion

sam135's avatar
sam135
Icon for New Contributor rankNew Contributor
2 years ago

Is there a problem with executing Questa FSE using WSL?

Hi,
I have trouble using Questa FSE.
It seems that installation and license registration are ok, because i can run the questiona for a while.(i can see Questa GUI for a while)
However, the Questa ends immediately saying that there is no viewer license.

I tried to use linux version Questa FSE using WSL2 on Windows 11. Will this be a problem?
or, is there anything else i can check?

below is the terminal log when i run questa.
```
./vsim
Reading pref.tcl
Unable to checkout a viewer license necessary for use of the Questa Intel Starter FPGA Edition graphical user interface. Vsim is closing.
```

2 Replies

  • sam135's avatar
    sam135
    Icon for New Contributor rankNew Contributor
    There was a problem with the license because the mac address in the WSL is not static.

    I solved the problem by adding some script to the bashrc.
    for example,
    ```
    wantmac=[mac address you need]
    mac=$(ip link show bond0 | awk '/ether/ {print $2}')
    if [[ $mac != $wantmac ]]; then
    sudo ip link add name bond0 type bond mode active-backup
    sudo ip link set dev bond0 address $wantmac
    fi

    export LM_LICENSE_FILE=/mnt/e/License/[License file path]:$LM_LICENSE_FILE
    ```

    I referred to the post below.
  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

    Glad that you have resolved the issue. I am putting this to close pending