<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Interesting Problem in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248278#M153961</link>
    <description>&lt;P&gt;We have to start somewhere - and I think you just proved my point about this forum.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2021 20:59:38 GMT</pubDate>
    <dc:creator>JohnNichols</dc:creator>
    <dc:date>2021-01-20T20:59:38Z</dc:date>
    <item>
      <title>Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246956#M153864</link>
      <description>&lt;P&gt;For reasons that are lost to me, I stumbled across ACM Algorithm 787. It is a solution to clique cover problems.&amp;nbsp; Interestingly the .gz file at ACM is corrupt but I found another source.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a sample of the math problem of P-NP.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I downloaded it and it compiles nicely VS 2019 Preview, although interestingly the latest preview will no longer search for fortran files in the complete solution.&amp;nbsp; Another day.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interestingly the input statement is&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="fortran"&gt;c     ------------------------------------------------------------------
c
c     Input/output device numbers passed to iniprt, gmis, outsol:
c
c          in     - input device
c          out    - output device
c
c     ------------------------------------------------------------------
      integer   in,out
      parameter (in=5,out=6)
c     ------------------------------------------------------------------
c&lt;/LI-CODE&gt;
&lt;P&gt;The program was clearly written and compiled on Linux machines.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ok, so if memory from Uni in 1978 serves me correctly 5 is the keyboard and 6 is the screen.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway here are the for and the data file.&amp;nbsp; It is an interestingly little problem.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to fix the input, when I get back from being a responsible parent for the morning.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I thought it was of interest.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 18:00:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246956#M153864</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-16T18:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246957#M153865</link>
      <description>&lt;P&gt;Windows files for VS 2019&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 18:02:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246957#M153865</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-16T18:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246976#M153866</link>
      <description>&lt;P&gt;this is the explanation of the code and the problem&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 20:21:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1246976#M153866</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-16T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247068#M153867</link>
      <description>&lt;P&gt;There are nearly six hundred such packages in the &lt;A href="http://www.netllib.org/toms" target="_self"&gt;TOMS directory at NETLIB&lt;/A&gt; . I do not know why No. 787 is of more interest to you than any of the others.&lt;/P&gt;
&lt;P&gt;The holdings there have diverse formats. Many Unix/Linux users would have used some file packaging utility to pack all the directories pertaining to their package and the contents of those directories. One such file packaging utility was the &lt;A href="https://docstore.mik.ua/orelly/unix/upt/ch19_02.htm" target="_self"&gt;Shell Archive&lt;/A&gt; . The following commands in Linux (or a Cygwin shell on Windows) will unpack the archive, compile the sources, run the program and compare the output to the reference output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;gzip -d 787.gz
unshar 787
cd Fortran77/Drivers/Sp
gfortran driver.f ../../Src/Sp/src.f
./a.out &amp;lt; data &amp;gt; RESn
diff -w RES RESn&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some bugs in the Shar directives in the file, but these do not matter much since there are only two source files to compile and a makefile is not needed for such a simple task.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 12:22:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247068#M153867</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2021-01-17T12:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247095#M153871</link>
      <description>&lt;P&gt;Interesting challenges in your comments.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I studied graph theory at the Australian National University in the 1970s and enjoyed it, although without computers it was not that easy to study. The difference is reading using a candle and having an Alexa read to you.&amp;nbsp; She has a nice voice.&amp;nbsp; My professor was fun and this looked like a bit of fun == are we allowed fun in Fortran&lt;/P&gt;
&lt;P&gt;2. I am working on a proposal at the moment that looks to define the minimum information flow to run a transportation network.&amp;nbsp; This is not a simple exercise and as about 100000 people are involved it is about as easy as Overlord&lt;/P&gt;
&lt;P&gt;3. P-NP is an interesting Millennial Problem and this is a modest and interesting sample, trying to explain graph theory to non-math people on Friday was interesting,&amp;nbsp; so that started the look&lt;/P&gt;
&lt;P&gt;4. It was interesting and I thought you lot might like the problem - although we are the Intel Fortran Forum - we actually can do good in the world - aka Tommy Raskin&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. A sense of humour&lt;/P&gt;
&lt;P&gt;6. Being asked on Saturday did we need to get 300 GB a month download capacity for 0.1GB per day on average and 5 GB once per month&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7. it looked fun -- and I had not seen the Unix unzip procedure before.&amp;nbsp; I will use Unix and Linux but that does not mean I have to like it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;8. I thought you might be interested - per chance I was wrong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 18:58:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247095#M153871</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-17T18:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247096#M153872</link>
      <description>&lt;P&gt;I was interested also because it does not have graphical output and I wanted to see the visual answers.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 19:00:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247096#M153872</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-17T19:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247372#M153896</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;2. I am working on a proposal at the moment that looks to define the minimum information flow to run a transportation network. This is not a simple exercise and as about 100000 people are involved it is about as easy as Overlord&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The above statement is somewhat ambiguous:&lt;/P&gt;
&lt;P&gt;1) Is this centralized control?&lt;BR /&gt;2) Is this distributed control?&lt;BR /&gt;3) Are there private shippers&lt;BR /&gt;4) Are there wholly own shippers&lt;BR /&gt;5) Is it a push scheduling (central system selects shippers).&lt;BR /&gt;6) Is it a pull scheduling (select shippers bid on shipping)&lt;BR /&gt;7) ...&lt;/P&gt;
&lt;P&gt;Transportation networks are not typically NP as most routes could quickly be excluded (ship small package from Brisbane to Perth by canoe). Also, while a package ends up going point-to-point, the actual route is something like point-to-distrubutioncenter-to-distributioncenter-to-point. IOW you may have an (N/100000)P problem.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 16:12:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1247372#M153896</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-18T16:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248195#M153955</link>
      <description>&lt;P&gt;The proposal is interesting, it is essentially about CAT data in the development of the driverless cars is the worst extension.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is there are many variatons on the theme&lt;/P&gt;
&lt;P&gt;Intel Fortran is one solution to part of the problem&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 18:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248195#M153955</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-20T18:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248223#M153956</link>
      <description>&lt;P&gt;There is a lot of work going on looking at the interaction of driverless cars and the surrounding environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have been doing some work with monitoring on bridges and getting useful information out of the bridge.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With so many people involved all around the world, it is a challenge to watch the evolution of standards, luckily the automobile industry does have a sound driving influence.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In terms of this algorithm, it is interesting for one of the problems I have been thinking about.&amp;nbsp; You have a driverless car and someone in it collapses, and there is also a young child in the car.&amp;nbsp; Ultimately we want to get them to safety - ie hospital and not stop a car on a highway so a worried child climbs out of the car and gets killed.&amp;nbsp; if you are the driverless system developer your responsibility level is a lot higher than - there is your bicycle go ride it.&amp;nbsp; So the train control for the Channel Tunnel is going to want a death rate not much higher than 1 in a million incidents.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you think in network terms in Fortran&amp;nbsp;&lt;/P&gt;
&lt;P&gt;first type needed is a node or vertex - and the second type needed is a edge or path - what is the next type -- there are two potential programs you want to link this to - VISSIM or SUMO&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;And you do not want to use Python&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now think of the million things that happen every day on the world's roads and how do you code for it?&lt;/P&gt;
&lt;P&gt;Also where do you do the analysis - in the car at the edge of the system or deep in the heart of the system.&amp;nbsp; -- My initial though is to push for edge computing,&amp;nbsp; so to solve an NP problem divide it into many problems and prove it is solvable&lt;/P&gt;
&lt;P&gt;Now you have a computer system controlling say 100 million cars in the USA in a morning -- carrying say 150 million people, let us be a bad guy and crash the system?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 19:21:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248223#M153956</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-20T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248226#M153957</link>
      <description>&lt;P&gt;if I want to solve this problem, of the six people I want to talk to , five of them are on this board.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 19:23:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248226#M153957</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-20T19:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248244#M153958</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&lt;EM&gt;Now you have a computer system controlling say 100 million cars in the USA&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Autonomous control is better.&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;first type needed is a node or vertex - and the second type needed is a edge or path - what is the next type&lt;/P&gt;
&lt;P&gt;You may need influences, things external to the mesh that affect path selection. E.g. fire, congestion, ice, beautiful sunset view, fuel, food, charging station, ... It is not just vertex and edge.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 19:58:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248244#M153958</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-20T19:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248252#M153959</link>
      <description>&lt;P&gt;RE: route planning (traveling salesman) type of problem.&lt;/P&gt;
&lt;P&gt;I'd suggest setting up the simulation (control program) as if the paths were pneumatic tubes, and the intersections were manifolds connecting the tubes. IOW this becomes a fluid dynamics type of problem. You pressurize the start point, leaving only the desired end point as the exit, then observe which path the fluid predominantly flows. To reduce calculations, the "fluid" could be synthesized as balloons or bubbles within the system. Each path could accommodate only a few.&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 20:08:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248252#M153959</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-20T20:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248278#M153961</link>
      <description>&lt;P&gt;We have to start somewhere - and I think you just proved my point about this forum.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 20:59:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248278#M153961</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-20T20:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248288#M153962</link>
      <description>&lt;P&gt;&lt;A title="C++ templates" href="https://sumo.dlr.de/docs/Developer/CodeStyle.html#templates" target="_self"&gt;https://sumo.dlr.de/docs/Developer/CodeStyle.html#templates&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if we have a C++ template for use in Visual Studio with this program SUMO - can we use fortran DLL with the C++ template as the linking part?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 21:14:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248288#M153962</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-01-20T21:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting Problem</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248607#M153972</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;if we have a C++ template for use in Visual Studio with this program SUMO - can we use fortran DLL with the C++ template as the linking part?&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As long as the routines called use BIND(C)/extern "C"&lt;/P&gt;
&lt;P&gt;And you follow other recommendations/requirements for interoperability between C and Fortran.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/fortran-compiler-oneapi-dev-guide-and-reference/top/compiler-reference/mixed-language-programming/programming-with-mixed-languages-overview.html" target="_blank"&gt;Programming with Mixed Languages Overview (intel.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2021 14:30:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Interesting-Problem/m-p/1248607#M153972</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2021-01-21T14:30:24Z</dc:date>
    </item>
  </channel>
</rss>

