Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

COM Server Wizard questions

Peter_Priestley
Beginner
594 Views

Is there any way to turn off the automatic update of the class and interface implementation files, and make it a manual process and it was with the Compaq Visual Fortran COM Server wizard.

Those files are typically called UmyclassTY.f90 and UImyclass.f90.

Intel automatically updates them when you change the hie file, which means you lose comments and manual changes outside the predefined tags. Its difficult to make the code conform to coding standards as you can't control the auto-generation.

In Compaq, the changes were written to UmyclassTY+.f90 and UImyclass+.f90. Instructions were provided in TODO.TXT on what had to be manually merged back to the main files.

I've looked at the generated templates (e.g. csmain.tpl and userty.f90), without documentation its hard to know what to change and there doesn't seem to be direct control over the automatic merge.

What's the best way to get the CVF behaviour in IVF?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
594 Views

I thought that the CVF one did this too - wouldn't make sense to me otherwise. You could always do a Save As of the generated file to a different name and mark the generated ones as "Do not include in build".

0 Kudos
Peter_Priestley
Beginner
594 Views

I thought that the CVF one did this too - wouldn't make sense to me otherwise. You could always do a Save As of the generated file to a different name and mark the generated ones as "Do not include in build".


Thanks Steve, that seems to do the trick.

We are porting our application at last to Intel Fortran in order to prepare us for doing some work with threading and OpenMP. So far, so good, am impressed with extra diagnostics from IVF compared to CVF.

Peter.

0 Kudos
Reply