Quantcast
Channel: Intel® Fortran Compiler
Viewing all 3270 articles
Browse latest View live

Using modules increases build time

$
0
0

Hello!

It is known the use of modules is a more modern approach than using global subroutines. But if the project is large and includes many files, the compilation process  after some changes in modules affects a large number of files. When using the global routines any changes lead to only one file compilation and linking process and it takes a little time. 

Does this mean that the modules are less efficient?


Deleting records from a sequential formatted file

$
0
0

My program creates a file of type sequential formatted that look similar to this:

$KEYWORD
word1
word2
:
wordlast
$END
$COMMENTS
This is a free-form section containing text of
various user comments
$END

The file is then closed. In a subsequent run of the same program, it needs to open this file and edit it  to delete the keyword list with a new list, which can be either longer or shorter than the existing list. How can I do this?

My strategy was to open the file, read records until '$KEYWORD' is found, then delete records until '$END' is found, then backspace, then write the new keyword list. Then I realized I don't know how to delete records in this kind of file! Is it even possible? Does it involve some trick like opening it as a binary or stream-access type?

Auto-parallelized F77 code runs but no speedup

$
0
0

I have a working program (Fortran 77) that I’m trying to auto-parallelize on a cluster. The changes made in the compiling makefiles (abbreviated) are shown in the curly brackets below.
Build library:
FOR=ifort -c -O3 {-parallel}
LINK=ifort
PROG_DIR=/export/home/mydir/
HJS=$(PROG_DIR)/hjs
.f.o:
    $(FOR) $<
    rm libprog.a
    $(FOR) $(HJS)/*.f
    ar -rv $(PROG_DIR)/libprog.a  *.o
    rm *.o
Compile executable:
FOR=ifort -c -O3 {-parallel}
LINK=ifort {-openmp}
PROG_DIR=/export/home/mydir/
LIBPROG=-L$(PROG_DIR) -lprog
.f.o:
         $(FOR) $(OPT) $<
prog_hjs.o: prog_hjs.f
        $(FOR) prog_hjs.f
prog_hjs: prog_hjs.o
        $(LINK) -o prog_hjs prog_hjs.o  $(LIBPROG)
The program runs at the same speed irrespective if 4, 8 or 16 cpus are given to it (and it appears that it can only access 1 node (i.e.up to 8 cpus)). What is missing? Is anything more required in the compilation above?

VS Integration XE2016 / Submodule

$
0
0

compiling with submodules we not get .mod and .smod files. When you clean to do a fresh build (clean) the .smod files are not deleted and I am guessing that they should be. Perhaps it is not important.......

 

Replacing the first record in a sequential formatted file

$
0
0

This is perhaps an "add on" to dboggs query "Deleting records from a sequential formatted file".  I have a sequential formatted file with an initial "record" which has the number of records in the file.  Obviously I do not tend to know this value a priori.  Therefore, I run my code to the end and make a CALL at the end which is the following:

SUBROUTINE CLEAN_UP_FILE(INPUT_CODE, NUMBER_OF_RECS)
!  This routine cleans up the sequential file.  It is important
!  that the RECL for opening the file is the length of the first
!  line in the file and that the record IS the first line.
    USE VERSION_INFORMATION, ONLY : VERSION_INFO
    INTEGER, INTENT(IN) :: INPUT_CODE, NUMBER_OF_TIMES

    CLOSE(UNIT = INPUT_CODE)
    OPEN(UNIT = INPUT_CODE, FILE = FILENAME, ACCESS = 'DIRECT', &
      FORM = 'FORMATTED', RECL = 17)
    IF (NUMBER_OF_TIMES > 0) THEN
        WRITE(UNIT = INPUT_CODE, FMT = '(I6,1X,A10)', REC = 1) &
          NUMBER_OF_TIMES, VERSION_INFO
    END IF
    CLOSE(UNIT = INPUT_CODE)
END SUBROUTINE CLEAN_UP_FILE

This in general "works" but as of late, there is a particular file input/output sequence where it fails with an Intel(r) Visual Fortran run-time error.

The error message reads "forrtl: FormatMessage failed for system message number 1450." I have little idea what that could mean.

The second message box reads

forrtl: severe (30): open failure unit XXX, file YYY.  Stack trace terminated abnormally.

Is there something inherently wrong about what I am doing in the SUBROUTINE?

Very Slow Compilation under VS 2013 plus PSXE 2016

$
0
0

Hi Steve,

I have to machines one with VS 2008 and Intel Parallel Studio XE 2013 and the other one with VS 2013 and Intel Parallel Studio XE 2016. When I compile identical Fortran codes in these two machines it takes about 4-5 minutes to be compiled in the first machine (i.e., with the old versions for both VS and Intel Fortran Compiler) whereas it takes about 5-6 hours in the second machine! I have checked the Intel Fortran compiler options in the two machines and it appears to me they are identical. I would appreciate it if you could help me to resolve this issue.

Thanks very much,

Aboulghasem

 

 

 

Not able to debug in to Fortran Static library code

$
0
0

My environment: VS2013 and Intel Visual Fortran Composer XE 2013 SP1
I've a C++ project, which calls the functions in statically linked Fortran library. When I run the main program, it runs correctly. It calls the functions in Fortran and returns the value. But I could not debug into the Fortran static library code. I can step into the C++ code,but not inside the Fortran function.

The fortran static library project creates the PDB file, but the visual studio is not loading that PDB file. Could someone please let me know what I am missing here, and how to debug the static library project?

Here are my settings from Fortran project property page:

Configuration Properties
     -- Debugging
         Command -- $(TargetPath)
     -- Fortran
          General
          Debug Information Format  -- Full (/debug:full)
          Debugging
              Debug Information Format  -- Full (/debug:full)
              Information for PARAMETER Constants -- All (/debug-parameters:all)
         Output Files
             Program Database File Name -- MyProjectName.pdb
          Command Line -- /Debugging
     -- Librarian
          Output File -- MyProjectName.lib

 

MsVS Build Error "(Platform Toolset = 'Intel C++ Compiler 16.0')...not...found."

$
0
0

Running with Microsoft Win10 and Visual Studio 15 Community, and Intel® Parallel Studio XE 2016 Composer Edition.  The System Studio Matrix Multiply solution on a clean build gave no errors but build encounters MSB8020 in each sub-project file with the description “The build tools for Intel C++ Compiler 16.0 (Platform Toolset = 'Intel C++ Compiler 16.0') cannot be found. . . ."  

The error continues "... To build using the Intel C++ Compiler 16.0 build tools, please install Intel C++ Compiler 16.0 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting ‘Retarget solution’.”  I suppose one should listen carefully since the Ms-VS menus have changed since the 2013 solution posting and its otherwise helpful readme.

Can you decode the error message in terms I can find on my computer screen? The Intel® installation was partly successful in that Visual Studio offers “Help/Intel Compilers and Libraries” for Fortran Samples, the Intel® Visual Fortran Compiler Documentation and the Intel® Math Kernel Library Reference Manual - Fortran MKL Library.  Of possible significance is that right clicking on the Solution in the Explorer and choosing “Intel Compiler” gives two choices “Code coverage” and both of these give the Visual Studio error “The ‘ConfigurationGeneral’ rule is missing the ‘ProfileDirectory’ property” in an unidentified place. What to do?

Pedigrees: MSs-VS About identified as “Intel® Parallel Studio XE 2016 Composer Edition for Fortran Windows* Integration for Microsoft Visual Studio* 2015, Version 16.0.0046.14, Copyright © 2002-2015 Intel Corporation”.  Ms-VS is “Microsoft Visual Studio Community 2015 Version 14.0.23107.0 D14REL © Microsoft Corporation”.

 


Linking f95 to ifort instead of Gfortran

$
0
0

I have Ubuntu 14.04 and have installed intel fortran compiler. I am trying to compile a code through makefile that uses ifort.  However, I get these errors while compiling 

-------------------------------------------

f95: error: precise: No such file or directory
f95: error: unrecognized command line option ‘-h’
f95: error: unrecognized command line option ‘-fp-model’
f95: error: unrecognized command line option ‘-ip’

 

-----------------------------------------------

I posted this query to another online forum that pointed out that I should check if the "f95" is still

linked to gfortran and it indeed is linked to the default gfortran compiler. 

I found that out by typing "ls -la /etc/alternatives/f95" resulting in the following: 

-------------------------------------------------------

lrwxrwxrwx 2 root root 17 Feb 27  2015 /etc/alternatives/f95 -> /usr/bin/gfortran

-------------------------------------------------------

My understanding is that the I would need the "f95" get linked to my intel fortran compiler. But I don't know the right way to do it and avoid getting the compilation errors.

Thank you for your time.

 

Pardiso hangs in phase 33 when called from an OMP critical region in 16.0

$
0
0

Hi all,

I suspect this is a problem with my code, but I can't figure out what the issue is...

I've been using similar code for a while now, and its worked fine until I installed 16.0, however it now hangs in the call to Pardiso with phase 33. Basically I import a matrix, factorize then solve in an OMP parallel loop for many RHS. Because of the layout of my main program (I provide a much stripped down version here, as well as a data file), the same temporary array is used by each thread, and the solution vector overwrites the right hand side. I'm unsure if Pardiso actually uses this temporary array - but in case it does I place the call to Pardiso within an OMP critical section to prevent multiple threads accessing it at the same time. 

I compile with parallel OMP (/Qopenmp) and parallel MKL (/Qmkl:parallel) flags, otherwise everything is as Visual Studio sets it by default.

If OMP is set to one thread it runs fine. If I comment out the OMP parallel directive on the loop it also seems to run fine. However on my 8 (4 with hyper threading) core machine when running in parallel no joy.

If anyone has any suggestions/thoughts/solutions it would be appreciated,

Thanks,

Michael

include 'mkl_pardiso.f90'
    program TestPardiso2
    use OMP_LIB
    use MKL_PARDISO

    implicit none

    double precision, allocatable :: A(:), toSolve(:,:)
    integer, allocatable :: ia(:), ja(:)
    integer :: N

    integer, parameter :: numberToSolve = 20

    ! Read matrix from file
    call GetMatrixFromFile("Output.txt", N, ia, ja, A)

    ! Invent some data to solve
    allocate(toSolve(N,numberToSolve))
    call RANDOM_NUMBER(toSolve)

    ! Solve using Pardiso
    call SolveWithPardiso(N, ia, ja, A, numberToSolve, toSolve)

    contains

    subroutine GetMatrixFromFile(name, N, ia, ja, A)
        character(len=*), intent(in) :: name
        double precision, intent(out), allocatable :: A(:)
        integer, intent(out), allocatable :: ia(:), ja(:)
        integer, intent(out) :: N

        character(len=255) :: buffer
        integer :: nnz, status, iVal, prevIval, cnt

        ! open file
        open(UNIT=21, FILE=name, STATUS="OLD", IOSTAT=status)

        ! Get matrix size from first lines of file
        read(UNIT=21, FMT='(A)') buffer ! Ignore title
        read(UNIT=21, FMT='(A5, I)') buffer, N
        read(UNIT=21, FMT='(A7, I)') buffer, nnz
        read(UNIT=21, FMT='(A)') buffer ! Ignore column heading
        read(UNIT=21, FMT='(A)') buffer ! Ignore space

        ! Allocate matrix - assume no errors!
        allocate(ia(N + 1), ja(nnz), A(nnz))

        ! Loop thru file. Assume only end of file error will occur
        status = 0
        cnt = 0
        prevIval = 0
        do while (status == 0)
            cnt = cnt + 1
            read(UNIT=21, FMT='(X, I, X, I, X, E)', IOSTAT=status) ival, ja(cnt), A(cnt)

            if ( ival /= prevIval ) then
                ia(ival) = cnt
                prevIval = ival
            end if
        end do

        ia(N + 1) = nnz + 1

    end subroutine GetMatrixFromFile


    subroutine SolveWithPardiso(N, ia, ja, A, numberToSolve, toSolve)
        integer, intent(in) :: N, numberToSolve
        integer, intent(in) :: ia(:), ja(:)
        double precision, intent(in) :: A(:)

        double precision, intent(inout) :: toSolve(:,:)

        type(MKL_PARDISO_HANDLE) :: pt(64)
        integer :: param(64), perm(N), error, i
        double precision:: tmpArray(N)

        ! Initialize Pardiso options
        CALL pardisoinit(pt, 2, param)
        param( 6) = 1 ! Solver stores the solution in the right-hand side b.
        param(27) = 1 ! Check input data

        ! call omp_set_num_threads(1) ! Uncommenting this line Works

        ! Solve
        call pardiso(pt, 1, 1, 2, 12, N, A, ia, ja, perm, 1, param, 1, toSolve(:, 1), tmpArray, error)

        !$OMP PARALLEL DO DEFAULT(SHARED) PRIVATE(i)
        DO i = 1, numberToSolve
            WRITE(*,*) (omp_get_thread_num() + 1), " : at critical"
            !$OMP CRITICAL (criticalPardisoSection2109)
            WRITE(*,*) (omp_get_thread_num() + 1), " : solving"

            ! Solve
            call pardiso(pt, 1, 1, 2, 33, N, A, ia, ja, perm, 1, param, 1, toSolve(:, i), tmpArray, error)

            WRITE(*,*) (omp_get_thread_num() + 1), " : complete"
            !$OMP END CRITICAL (criticalPardisoSection2109)
        END DO
        !$OMP END PARALLEL DO

    end subroutine SolveWithPardiso

    end program TestPardiso2

 

AttachmentSize
DownloadOutput.txt8.32 MB

Is there any way to detect busy cores in OpenMP?

$
0
0

Hey

I have a program where you can specify how many cores you want to run the program on, and often it turns out that people just run the program on a few cores.

The problem is if 2 people do this on the same server.

They both use the same cores, and their code slows down significantly even though there are plenty of cores on the server for both of them.

At the moment I use : SETENVQQ("OMP_PLACES=cores") to set the affinity of the threads, but as I can clearly see this unfortunately does not check whether the cores are already busy before selecting the cores.

Does there exist a method to check whether cores are busy before setting affinity? 

If not, does there exist a method to just randomly select the cores on the server, so that it will at least be unlikely that they select the same cores?

Cheers

Tue

 

Crash when install the Fortran Compiler on Mac OS X

$
0
0

Hi guys!

I have some problems when installing the fortran compiler on OS X 10.10.5. When I try to install it using the full offline installer package, the installer app runs and I get to the point where it asks to install as root or as administrator.  If I try to install as administrator is simply says "Authorization failure.  Check password and try again." However, it never prompts for a password.  If I try to install as root, it does prompt me for a password, but I receive the same error. And also the online installer gave me the same problem. 

When I try to use the terminal to open ./install_gui, it returns 

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_init: No such file or directory

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_script: No such file or directory

bash: CHECK_CORE: command not found

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_output: No such file or directory

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_init: No such file or directory

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_script: No such file or directory

bash: CHECK_USER_MARKER_FILE: command not found

bash: /Volumes/m_fcompxe_2016.0.033/m_fcompxe_2016.0.033.app/Contents/MacOS/./../..//tmp/shellexec_output: No such file or directory

 

So, how to solve this kind problems? 

 

Difference compiler f90 (env. UNIX) et ifort (Env. Windows)

$
0
0

Hello,

 

First of all, I am not a professionnel in fortran programming... But hereafter my problem.

I have developped a program in which i read an unformated file via:

      OPEN(26,FILE='test',FORM='UNFORMATTED',STATUS='OLD',ACCESS='DIRECT',IOSTAT=IO,RECL=4)

and then

      READ(26,REC=1,IOSTAT=IOS)NUMFL

to read the first value which is an integer coded on 4 bytes (that's why RECL=4)

This sturcture is well compiled by f90 compiler and in UNIX environment. It works weel and the read value is correct.

 

Now, I would like to work in Windows 7 environment and so with ifort compiler.... The same program is well compiled too but the first reading value is not the right one. I suppose that it is a pb of compiler option but I do not understand clearly what I have to modify. For information, I tried ifort compilation option like as "assume:byterecl" and "integer-size:32" (seperatly or cumulted) but it still does not work.

 

Thanks in advance for your help.

Compiler Warnings when using linkers -- Noob Question

$
0
0

Hello All, 

I am very unaware of certain compiler errors and warnings, but my advisor has recruited me to fix a problem for him. After scouring the web and stackoverflow, I am very unsure of what to do...I will show a compilation and the errors associated. I apologize for how rudimentary this is, but I have no knowledge on this. 

 ifort -lm ZOHDI-SIMPLE-PROTOTYPE-CODE-5.f -fast -o test
ifort: warning #10315: specifying -lm before files may supercede the Intel(R) math library and affect performance
ipo: warning #11021: unresolved _OBJC_CLASS_$_NSObject
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _OBJC_METACLASS_$_NSObject
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved ___objc_personality_v0
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved __objc_empty_cache
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved __objc_empty_vtable
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved __objc_init
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _auto_zone_release
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _auto_zone_retain
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _class_createInstance
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _class_getName
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_autoreleasePoolPop
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_autoreleasePoolPush
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_begin_catch
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_collectableZone
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_collectingEnabled
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_end_catch
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: warning #11021: unresolved _objc_lookUpClass
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSend
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSendSuper2
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_msgSend_fixup
        Referenced in /usr/lib/system/libdispatch.dylib
        Referenced in /usr/lib/system/libxpc.dylib
ipo: warning #11021: unresolved _objc_terminate
        Referenced in /usr/lib/system/libdispatch.dylib
ipo: remark #11001: performing single-file optimizations
ipo: remark #11006: generating object file /var/folders/fv/mfhcykzs2q52xgp0xhqv__400000gp/T/ipo_ifortY2y5As.o
ld: warning: -macosx_version_min not specified, assuming 10.6

Many variants of the linker order were tried, and still produced these errors/warnings. This is on his Mac desktop running OS 10.8.X, whereas on his Mac powerbook running OS 10.9.X has no issues. I am weary to install OS 10.10.X because that caused many of our lab members issues with compiler linkers/libraries. Has anyone seen this before? 

Also, is it possible to uninstall and reinstall ifort on his computer and see if that makes a difference? How would we do that since I'm sure his product license has expired. Or can one move a license from another one of his computers to his Desktop? 

Thanks so much for the help, I really need it!

Error related to absent optional argument

$
0
0

The following code is a simplified version of another example posted by "Simon" on the Silverfrost Fortran Forum, see http://forums.silverfrost.com/viewtopic.php?p=18780 . My reading of the Fortran 2008 standard, section 12.5.2.12.3(1) indicates that the code is not conforming since the two elements of array j, which is not present, are referenced in Line-10. Gfortran 4.7 and 5.2 stop with a seg-fault on line-21. Sun Fortran 12.4 on Linux says " Attempting to use a missing optional dummy 'J' Location:  line 10 column 14 of 'pres0.f90'". With Intel Fortran 2015.2.164 and 16.0.0.109 on Linux the program completes execution, and the output was actually what "Simon" expected.

PROGRAM absent
!
 CALL s1 ()
!
CONTAINS
!
 SUBROUTINE s1 (j)
  INTEGER, INTENT(IN), OPTIONAL :: j(2)
!
 CALL s2 (j1=j(1),j2=j(2))
 END SUBROUTINE s1
!
 SUBROUTINE s2 (j1,j2)
  INTEGER, INTENT(IN), OPTIONAL :: j1, j2
  IF (PRESENT(j1)) THEN
     PRINT *, 'j1 = ',j1
  ELSE
     PRINT *, 'j1 N/A'
  END IF
  IF (PRESENT(j2)) THEN
     PRINT *, 'j2 = ',j2
  ELSE
     PRINT *, 'j2 N/A'
  END IF
 END SUBROUTINE s2
END PROGRAM absent

The program output with Intel Fortran, compiled with -C:

 j1 N/A
 j2 N/A

 


Unexpected "forrtl: severe (157): Program Exception - access violation" exception during allocatable character array assignment

$
0
0

The following simple code compiler with no errors or warnings, however the assignment statement results in an "forrtl: severe (157): Program Exception - access violation" at run-time:

program p

   implicit none

   character(len=1), allocatable :: str(:)

   str = [ "" ]

   stop

end program p
forrtl: severe (157): Program Exception - access violation
Image              PC                Routine            Line        Source

p64.exe            000000013F7A7629  Unknown               Unknown  Unknown
p64.exe            000000013F782213  Unknown               Unknown  Unknown
p64.exe            000000013F781162  MAIN__                      7  p.f90
p64.exe            000000013F7AAA5E  Unknown               Unknown  Unknown
p64.exe            000000013F7AAD94  Unknown               Unknown  Unknown
kernel32.dll       00000000771A59DD  Unknown               Unknown  Unknown
ntdll.dll          00000000773DA631  Unknown               Unknown  Unknown
Press any key to continue . . .

Thanks,

Download MKL solver examples

$
0
0

I am using the Intel Fortran compiler through my university's cluster and I cannot find the example codes for the MKL solver examples (which should be at "examples/solverf/source"). Is there any way I can download these of the internet? I haven't found them on Intel's site or Googling it.

Thank you,

John

write format problem ( real )

$
0
0

hello, all

I write a simple program for writing real variable.

But  case1 and case 2 has some space in front of the number.

Then I tried using 0PF0.4 format, but it removed the number zero.

Finally I changed real variable to character and print it.

Is there any other way to remove the space before number with number zero?

-------------------------------------------

PROGRAM TEST
REAL :: e=0.1425
CHARACTER(LEN=10) :: rstr1

write (*,*) e                                       !case1
write (*,"(f10.4)") e                           !case2
write (*,"(0PF0.4)") e                        !case3

write (rstr1,"(0PF10.4)") e             
write(*,*) rstr1
write (*,'(a)') trim(adjustl(rstr1))        !case4

END PROGRAM TEST

-------------------------------------------

> ./a.out
  0.1425000
    0.1425
.1425
     0.1425
0.1425

 

-------------------------------------------

 

 

forrtl: severe (64): input conversion error

$
0
0

Hello!
This may be a simple obstacle but I am clueless to resolve it.
Thank you in advance to help me to fix it.

Below is my section of code, I am getting the  error in line 2 of which I have no idea of its origin.

!-----------------------------------------------------------------------------------
1.   READ(14,*) IFRAME ! !.. Actual # of MC moves
2.   READ(14,*) N_Si      ! !.. Number of Si atoms
3.   READ(14,*) N_O2     ! !.. Number of Bridging oxygens (BO)
4.   READ(14,*) N_Ox     ! !.. Number of Non-reactive OH

!----------------------------------------------------------------------------------------------

Integer is defined in the program previously as

!--------------------------------------------------------------------------
    INTEGER::N_MC, N_Si, N_Ox, O2LABI, N_O2

!---------------------------------------------------------------------------

     File 14 from which I read the data is

!------------------------------------------------------------------------

       508 !.. Actual # of MC moves
      1000 !.. Number of Si atoms
           0 !.. Number of Bridging oxygens (BO)
           0 !.. Number of Non-reactive OH

!-------------------------------------------------------------------------

 I have compiled the code as

 ifort code.f90 -fpe0 -traceback -CB -O0 -o a.out

And running the code using pbs on 64 bit linux based cluster.

The program runs fine and there is also no run time error. However in between suddenly this error is flagged and program is suspended.

Your suggests of any kind is highly valuable.
Thank you

 

parallel Studio 2016 XE installations in windows 10

$
0
0

Hi,

We are having some issues with installing this on a windows 10 machine, and have tried it several ways and most of them seem to fail when trying to run the fortran compiler.

questions

1.  Should the installer be able to run if only the windows 8.1 SDK is installed and no version of Visual Studio is installed?

2.  if the message in the attached file appears - what process needs to be followed to correct the installation?

3. We didn't find any shortcuts or listing for the compiler and the command prompt development windows being installed like on previous versions of parallel studio.  SHould they be there? and can you post pictures of what they should look like?

Thanks,

Dave

AttachmentSize
DownloadparallelStudioInstall.jpg158.69 KB
Viewing all 3270 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>