Support

Support Options

Submit a Support Ticket

 

Questions and Answers

Status: Accepting answers

0 Like

lui ehtesham

SCHRED Compilation

I would appreciate if somebody gives me instruction for SCHRED compilation in windows. I also have an ORACLE Virtualbox and I could compile it there, if I knew how. Thanks in advance. Lui

Report abuse

4 Responses

  1. 0 Like 0 Dislike

    Gokula Kannan

    Hi Lui, I was involved with the development of Schred V2.0, and that source code was completely developed on the compaq compiler on windows platform, and I have run the V1.0 also on windows, on many compilers including compaq,intel and gfortran. So you should not have any problem running it on windows on any compiler. If you do, its most likely a common variable/compiler issue which should not be too hard to find/fix. That said, if you do not have access to the commercial fortran compilers like compaq or intel, you can get free open source ones online. I like MinGWhttp://www.mingw.org/, its very easy to install, you have to download the .exe package, and during installation select the compilers you want, namely C,C++,fortran. Once the installation is done, you can open the MinGW Shell, and start compiling, and running the code. Of course as its windows, once you compile the code it should give and “a.exe” file that you can run from the same shell. And the inputs to the source codes should be in a input.data file, which you can edit for giving in different parameters for the code.

    Gokul

    Cancel Report abuse

    Please login to answer the question.

    1. 0 Like 0 Dislike

      lui ehtesham

      Thank you for your answer. I have some questions and I appreciate your further suggestions; I was wondering whether: 1) there are some hidden variables in nanoHUB SCHRED. I tried to go over examples in tutorials, but I could not get the same results. 2) there are any documentations for SCHRED compilation in LINUX, WINDOWS (visual studio). 3) there are major differences between nanoHUB SCHRED and the source code SCHRED. I am grateful in advance. Best, Lui

      Reply Report abuse

      Please login to answer the question.

      1. 0 Like 0 Dislike

        Gokula Kannan

        1) what do you mean by hidden variables? Are you compiling and running the source code on your machine and trying to match with the nanohub version? If yes,as long as you use the same input values for the parameters enetered , the outputs should match. Both of them use the same input file (the nanohub online version uses the tool interface to generate the input file that can be processed by the source code) 2) gfotran should work fine (use gfortran *.f) to compile all the fortran files in the source code and then run the executable (./a.out for e.g) OR you can write a makefile to do this. 3) No the source code should be exactly the same, I ensure they are updated after each evrsion.

        Report abuse

  2. 0 Like 0 Dislike

    Dragica Vasileska

    please consult gokulaka@asu.edu (Gokula Kannan).

    Dragica

    Reply Report abuse

    Please login to answer the question.

nanoHUB.org, a resource for nanoscience and nanotechnology, is supported by the National Science Foundation and other funding agencies. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.