Ask Your Question
1

UDM Compilation Error (Help Please!)

asked 2025-11-08 15:05:41 -0500

JadeEye94 gravatar image

Hello everyone,

This is my first time compiling user-defined models (UDMs) in PSS/E.

I am setting up the environment to compile UDMs for PSS®E 35.4 using the Environment Manager, but compilation is currently disabled.

The Environment Manager shows:

“No IVF / CVF Compiler installations found. Not Allowed – Compile: 35.4.0.”

and the log reports:

[64 bit] PATH/LIB files not found for Visual Studio 16.0 (VS 2019): link.exe, vc.lib

Current setup

PSS®E 35.4.0 (64-bit)

Windows 10 x64

Visual Studio Professional 2022 (Desktop C++ workload installed)

Visual Studio Build Tools 2022 and 2019 installed

Intel oneAPI HPC Toolkit 2025.3 installed

Observed behavior

Environment Manager cannot detect any compiler.

“Compiler Options” button in the GUI throws: UserDLLPage object has no attribute 'compilermajorv'.

Log shows missing linker files even though the C++ workloads are selected.

From registry check:

Intel oneAPI 2025.3 is installed under: HKEYLOCALMACHINE\SOFTWARE\Intel\Compilers\1AFortran

No key found at: HKEYLOCALMACHINE\SOFTWARE\Intel\Compilers\Fortran

Environment Manager appears to look for the older “Fortran” key used by previous Intel Fortran Classic (ifort) installations.

Request for confirmation

Which Intel Fortran Compiler version should be installed for full compatibility with PSS®E 35.4 UDM compilation?

Which Visual Studio version or toolset is recommended to ensure the compiler and linker are properly detected?

Any help will be super appreciated. Thanks in advance!

Here is is the error message in the compiler:

Compile not allowed for PSSE versions: 35.4.0

Installed Visual Studio versions:

2022 (VS version 2022), 16.0 (VS 2019), 2022 (VS version 2022), 16.0 (VS 2019)

[32 bit] PATH/LIB files not found for Visual Studio 16.0 (VS 2019):

link.exe

vc.lib

[64 bit] PATH/LIB files not found for Visual Studio 16.0 (VS 2019):

link.exe

vc.lib

Installed Intel Fortran Compiler versions:

None

Installed Compaq Fortran Compiler versions:

None

Refer C:\Users***.pssenvmgr\psseenvmanager.log file for details.

If contacting PSSE Support for resolution of this error, please send this log file.

edit retag flag offensive close merge delete

Comments

You can make a compiler script in python with the psse env manager (only avalaible in python 2). Mine script for this job is the following https://github.com/jbarberia/PSSEscripts/blob/main/scripts%2Fcompila.py

jbarberia gravatar imagejbarberia ( 2025-11-16 16:28:45 -0500 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2025-11-10 08:48:21 -0500

perolofl gravatar image

You need compiler: IVF 19 or later [64-bit].

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2025-11-08 15:05:41 -0500

Seen: 372 times

Last updated: Nov 10